{smcl}
{com}{sf}{ul off}{txt}{.-}
      name:  {res}<unnamed>
       {txt}log:  {res}C:\Users\yujeo\OneDrive - University of Illinois - Urbana\Anti-China Protest Projects\work in progress\kill protests\ISQ Tables_Word\ISQReplication_KillProtests.smcl
  {txt}log type:  {res}smcl
 {txt}opened on:  {res}30 May 2023, 14:21:37

{com}. do "C:\Users\yujeo\AppData\Local\Temp\STD01000000.tmp"
{txt}
{com}. xtset cowcode year
{res}{txt}{col 8}panel variable:  {res}cowcode (unbalanced)
{txt}{col 9}time variable:  {res}{col 25}year, 2000 to 2019
{txt}{col 17}delta:  {res}1 unit
{txt}
{com}. 
{txt}end of do-file

{com}. do "C:\Users\yujeo\AppData\Local\Temp\STD01000000.tmp"
{txt}
{com}. *Table 1 : Anti-China Protests and Polity on Government Visits*
. 
{txt}end of do-file

{com}. do "C:\Users\yujeo\AppData\Local\Temp\STD01000000.tmp"
{txt}
{com}. eststo clear
{txt}
{com}. eststo: xtnbreg government_visits L1.government_visits  c.protestL1##c.polity2L1   i.year  , fe
{txt}note: 1 group (4 obs) dropped because of all zero outcomes
{res}
{txt}Iteration 0:{space 3}log likelihood = {res:-425.67417}  
Iteration 1:{space 3}log likelihood = {res:-416.95241}  
Iteration 2:{space 3}log likelihood = {res:-416.44173}  
Iteration 3:{space 3}log likelihood = {res:-416.44032}  
Iteration 4:{space 3}log likelihood = {res:-416.44032}  
{res}
{txt}Conditional FE negative binomial regression{col 49}Number of obs{col 67}={col 69}{res}       188
{txt}Group variable: {res}cowcode{col 49}{txt}Number of groups{col 67}={col 69}{res}        22

{txt}{col 49}Obs per group:
{col 63}min{col 67}={col 69}{res}         2
{txt}{col 63}avg{col 67}={col 69}{res}       8.5
{txt}{col 63}max{col 67}={col 69}{res}        16

{txt}{col 49}Wald chi2({res}20{txt}){col 67}={col 70}{res}    57.09
{txt}Log likelihood  = {res}-416.44032{col 49}{txt}Prob > chi2{col 67}={res}{col 73}0.0000

{txt}{hline 24}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}      government_visits{col 25}{c |}      Coef.{col 37}   Std. Err.{col 49}      z{col 57}   P>|z|{col 65}     [95% Con{col 78}f. Interval]
{hline 24}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 6}government_visits {c |}
{space 20}L1. {c |}{col 25}{res}{space 2} .0097821{col 37}{space 2} .0080742{col 48}{space 1}    1.21{col 57}{space 3}0.226{col 65}{space 4} -.006043{col 78}{space 3} .0256072
{txt}{space 23} {c |}
{space 14}protestL1 {c |}{col 25}{res}{space 2} .0003927{col 37}{space 2} .0006868{col 48}{space 1}    0.57{col 57}{space 3}0.567{col 65}{space 4}-.0009534{col 78}{space 3} .0017388
{txt}{space 14}polity2L1 {c |}{col 25}{res}{space 2} .0097542{col 37}{space 2} .0143394{col 48}{space 1}    0.68{col 57}{space 3}0.496{col 65}{space 4}-.0183506{col 78}{space 3} .0378589
{txt}{space 23} {c |}
c.protestL1#c.polity2L1 {c |}{col 25}{res}{space 2}-.0001666{col 37}{space 2} .0000827{col 48}{space 1}   -2.01{col 57}{space 3}0.044{col 65}{space 4}-.0003286{col 78}{space 3}-4.54e-06
{txt}{space 23} {c |}
{space 19}year {c |}
{space 18}2002  {c |}{col 25}{res}{space 2}-1.196935{col 37}{space 2} .2550013{col 48}{space 1}   -4.69{col 57}{space 3}0.000{col 65}{space 4}-1.696728{col 78}{space 3}-.6971417
{txt}{space 18}2003  {c |}{col 25}{res}{space 2}-.5387865{col 37}{space 2} .2317695{col 48}{space 1}   -2.32{col 57}{space 3}0.020{col 65}{space 4}-.9930463{col 78}{space 3}-.0845267
{txt}{space 18}2004  {c |}{col 25}{res}{space 2}-.5702744{col 37}{space 2} .2197545{col 48}{space 1}   -2.60{col 57}{space 3}0.009{col 65}{space 4}-1.000985{col 78}{space 3}-.1395635
{txt}{space 18}2005  {c |}{col 25}{res}{space 2}-.4343974{col 37}{space 2}  .239931{col 48}{space 1}   -1.81{col 57}{space 3}0.070{col 65}{space 4}-.9046535{col 78}{space 3} .0358588
{txt}{space 18}2006  {c |}{col 25}{res}{space 2} -.310579{col 37}{space 2} .2262426{col 48}{space 1}   -1.37{col 57}{space 3}0.170{col 65}{space 4}-.7540063{col 78}{space 3} .1328483
{txt}{space 18}2007  {c |}{col 25}{res}{space 2}-.5109367{col 37}{space 2} .1746811{col 48}{space 1}   -2.92{col 57}{space 3}0.003{col 65}{space 4}-.8533054{col 78}{space 3} -.168568
{txt}{space 18}2008  {c |}{col 25}{res}{space 2}-.4905296{col 37}{space 2} .1854308{col 48}{space 1}   -2.65{col 57}{space 3}0.008{col 65}{space 4}-.8539672{col 78}{space 3} -.127092
{txt}{space 18}2009  {c |}{col 25}{res}{space 2}-.4830821{col 37}{space 2} .1716197{col 48}{space 1}   -2.81{col 57}{space 3}0.005{col 65}{space 4}-.8194505{col 78}{space 3}-.1467137
{txt}{space 18}2010  {c |}{col 25}{res}{space 2}-.6008412{col 37}{space 2} .1655735{col 48}{space 1}   -3.63{col 57}{space 3}0.000{col 65}{space 4}-.9253594{col 78}{space 3}-.2763231
{txt}{space 18}2011  {c |}{col 25}{res}{space 2}-.7700065{col 37}{space 2}  .174833{col 48}{space 1}   -4.40{col 57}{space 3}0.000{col 65}{space 4}-1.112673{col 78}{space 3}-.4273402
{txt}{space 18}2012  {c |}{col 25}{res}{space 2} -.668763{col 37}{space 2} .1740667{col 48}{space 1}   -3.84{col 57}{space 3}0.000{col 65}{space 4}-1.009927{col 78}{space 3}-.3275984
{txt}{space 18}2013  {c |}{col 25}{res}{space 2}-.7103615{col 37}{space 2} .1765198{col 48}{space 1}   -4.02{col 57}{space 3}0.000{col 65}{space 4}-1.056334{col 78}{space 3} -.364389
{txt}{space 18}2014  {c |}{col 25}{res}{space 2}-.5861127{col 37}{space 2} .1777517{col 48}{space 1}   -3.30{col 57}{space 3}0.001{col 65}{space 4}-.9344996{col 78}{space 3}-.2377257
{txt}{space 18}2015  {c |}{col 25}{res}{space 2} -.796658{col 37}{space 2} .1870462{col 48}{space 1}   -4.26{col 57}{space 3}0.000{col 65}{space 4}-1.163262{col 78}{space 3}-.4300541
{txt}{space 18}2016  {c |}{col 25}{res}{space 2}-.8117748{col 37}{space 2} .2213403{col 48}{space 1}   -3.67{col 57}{space 3}0.000{col 65}{space 4}-1.245594{col 78}{space 3}-.3779558
{txt}{space 18}2017  {c |}{col 25}{res}{space 2}-.6523109{col 37}{space 2} .2247026{col 48}{space 1}   -2.90{col 57}{space 3}0.004{col 65}{space 4} -1.09272{col 78}{space 3}-.2119018
{txt}{space 23} {c |}
{space 18}_cons {c |}{col 25}{res}{space 2} 3.443416{col 37}{space 2} .3869326{col 48}{space 1}    8.90{col 57}{space 3}0.000{col 65}{space 4} 2.685042{col 78}{space 3}  4.20179
{txt}{hline 24}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
({res}est1{txt} stored)

{com}. eststo: xtnbreg government_visits L1.government_visits   c.protestL1##c.polity2L1  lngdppc lnpop NaturalResources  urban_pop electricity   i.year  , fe
{txt}note: 1 group (4 obs) dropped because of all zero outcomes
{res}
{txt}Iteration 0:{space 3}log likelihood = {res:-424.00312}  
Iteration 1:{space 3}log likelihood = {res:-411.27117}  
Iteration 2:{space 3}log likelihood = {res:-409.82893}  
Iteration 3:{space 3}log likelihood = {res:-409.75477}  
Iteration 4:{space 3}log likelihood = {res:-409.75408}  
Iteration 5:{space 3}log likelihood = {res:-409.75408}  
{res}
{txt}Conditional FE negative binomial regression{col 49}Number of obs{col 67}={col 69}{res}       188
{txt}Group variable: {res}cowcode{col 49}{txt}Number of groups{col 67}={col 69}{res}        22

{txt}{col 49}Obs per group:
{col 63}min{col 67}={col 69}{res}         2
{txt}{col 63}avg{col 67}={col 69}{res}       8.5
{txt}{col 63}max{col 67}={col 69}{res}        16

{txt}{col 49}Wald chi2({res}25{txt}){col 67}={col 70}{res}    70.88
{txt}Log likelihood  = {res}-409.75408{col 49}{txt}Prob > chi2{col 67}={res}{col 73}0.0000

{txt}{hline 24}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}      government_visits{col 25}{c |}      Coef.{col 37}   Std. Err.{col 49}      z{col 57}   P>|z|{col 65}     [95% Con{col 78}f. Interval]
{hline 24}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 6}government_visits {c |}
{space 20}L1. {c |}{col 25}{res}{space 2} .0072368{col 37}{space 2} .0084849{col 48}{space 1}    0.85{col 57}{space 3}0.394{col 65}{space 4}-.0093933{col 78}{space 3} .0238669
{txt}{space 23} {c |}
{space 14}protestL1 {c |}{col 25}{res}{space 2} .0004667{col 37}{space 2} .0006669{col 48}{space 1}    0.70{col 57}{space 3}0.484{col 65}{space 4}-.0008403{col 78}{space 3} .0017737
{txt}{space 14}polity2L1 {c |}{col 25}{res}{space 2} .0071969{col 37}{space 2} .0145645{col 48}{space 1}    0.49{col 57}{space 3}0.621{col 65}{space 4} -.021349{col 78}{space 3} .0357428
{txt}{space 23} {c |}
c.protestL1#c.polity2L1 {c |}{col 25}{res}{space 2}-.0002382{col 37}{space 2} .0000845{col 48}{space 1}   -2.82{col 57}{space 3}0.005{col 65}{space 4}-.0004038{col 78}{space 3}-.0000726
{txt}{space 23} {c |}
{space 16}lngdppc {c |}{col 25}{res}{space 2}-.6054222{col 37}{space 2} .2001167{col 48}{space 1}   -3.03{col 57}{space 3}0.002{col 65}{space 4}-.9976438{col 78}{space 3}-.2132005
{txt}{space 18}lnpop {c |}{col 25}{res}{space 2}-.3093163{col 37}{space 2} .2623503{col 48}{space 1}   -1.18{col 57}{space 3}0.238{col 65}{space 4}-.8235134{col 78}{space 3} .2048808
{txt}{space 7}NaturalResources {c |}{col 25}{res}{space 2} .0150494{col 37}{space 2} .0110591{col 48}{space 1}    1.36{col 57}{space 3}0.174{col 65}{space 4}-.0066261{col 78}{space 3} .0367248
{txt}{space 14}urban_pop {c |}{col 25}{res}{space 2}-.0099431{col 37}{space 2} .0214744{col 48}{space 1}   -0.46{col 57}{space 3}0.643{col 65}{space 4} -.052032{col 78}{space 3} .0321459
{txt}{space 12}electricity {c |}{col 25}{res}{space 2} .0050617{col 37}{space 2} .0050153{col 48}{space 1}    1.01{col 57}{space 3}0.313{col 65}{space 4}-.0047681{col 78}{space 3} .0148915
{txt}{space 23} {c |}
{space 19}year {c |}
{space 18}2002  {c |}{col 25}{res}{space 2}-1.160499{col 37}{space 2} .2744861{col 48}{space 1}   -4.23{col 57}{space 3}0.000{col 65}{space 4}-1.698482{col 78}{space 3}-.6225159
{txt}{space 18}2003  {c |}{col 25}{res}{space 2}-.4948493{col 37}{space 2} .2486368{col 48}{space 1}   -1.99{col 57}{space 3}0.047{col 65}{space 4}-.9821684{col 78}{space 3}-.0075302
{txt}{space 18}2004  {c |}{col 25}{res}{space 2} -.453859{col 37}{space 2} .2601012{col 48}{space 1}   -1.74{col 57}{space 3}0.081{col 65}{space 4}-.9636479{col 78}{space 3}   .05593
{txt}{space 18}2005  {c |}{col 25}{res}{space 2}-.2863345{col 37}{space 2} .2644652{col 48}{space 1}   -1.08{col 57}{space 3}0.279{col 65}{space 4}-.8046767{col 78}{space 3} .2320077
{txt}{space 18}2006  {c |}{col 25}{res}{space 2}-.0394311{col 37}{space 2} .2524246{col 48}{space 1}   -0.16{col 57}{space 3}0.876{col 65}{space 4}-.5341743{col 78}{space 3} .4553121
{txt}{space 18}2007  {c |}{col 25}{res}{space 2}-.1021157{col 37}{space 2} .2523321{col 48}{space 1}   -0.40{col 57}{space 3}0.686{col 65}{space 4}-.5966776{col 78}{space 3} .3924462
{txt}{space 18}2008  {c |}{col 25}{res}{space 2}-.0225765{col 37}{space 2} .2700001{col 48}{space 1}   -0.08{col 57}{space 3}0.933{col 65}{space 4} -.551767{col 78}{space 3} .5066139
{txt}{space 18}2009  {c |}{col 25}{res}{space 2} .0474957{col 37}{space 2} .2757598{col 48}{space 1}    0.17{col 57}{space 3}0.863{col 65}{space 4}-.4929836{col 78}{space 3} .5879751
{txt}{space 18}2010  {c |}{col 25}{res}{space 2} .0385714{col 37}{space 2} .2939398{col 48}{space 1}    0.13{col 57}{space 3}0.896{col 65}{space 4}-.5375399{col 78}{space 3} .6146828
{txt}{space 18}2011  {c |}{col 25}{res}{space 2} -.077945{col 37}{space 2} .3296249{col 48}{space 1}   -0.24{col 57}{space 3}0.813{col 65}{space 4}-.7239979{col 78}{space 3}  .568108
{txt}{space 18}2012  {c |}{col 25}{res}{space 2} .0677399{col 37}{space 2} .3417829{col 48}{space 1}    0.20{col 57}{space 3}0.843{col 65}{space 4}-.6021422{col 78}{space 3} .7376221
{txt}{space 18}2013  {c |}{col 25}{res}{space 2} .0973597{col 37}{space 2} .3565701{col 48}{space 1}    0.27{col 57}{space 3}0.785{col 65}{space 4}-.6015048{col 78}{space 3} .7962242
{txt}{space 18}2014  {c |}{col 25}{res}{space 2}  .250667{col 37}{space 2} .3662946{col 48}{space 1}    0.68{col 57}{space 3}0.494{col 65}{space 4}-.4672573{col 78}{space 3} .9685913
{txt}{space 18}2015  {c |}{col 25}{res}{space 2}  .051725{col 37}{space 2} .3725577{col 48}{space 1}    0.14{col 57}{space 3}0.890{col 65}{space 4}-.6784746{col 78}{space 3} .7819247
{txt}{space 18}2016  {c |}{col 25}{res}{space 2}-.0126524{col 37}{space 2} .3985084{col 48}{space 1}   -0.03{col 57}{space 3}0.975{col 65}{space 4}-.7937145{col 78}{space 3} .7684097
{txt}{space 18}2017  {c |}{col 25}{res}{space 2} .2394135{col 37}{space 2} .4109651{col 48}{space 1}    0.58{col 57}{space 3}0.560{col 65}{space 4}-.5660632{col 78}{space 3}  1.04489
{txt}{space 23} {c |}
{space 18}_cons {c |}{col 25}{res}{space 2} 13.12366{col 37}{space 2} 5.466253{col 48}{space 1}    2.40{col 57}{space 3}0.016{col 65}{space 4} 2.410001{col 78}{space 3} 23.83732
{txt}{hline 24}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
({res}est2{txt} stored)

{com}. eststo: xtnbreg government_visits L1.government_visits   c.protestL1##c.polity2L1  lngdppc lnpop NaturalResources  urban_pop electricity FDI_inflow tradeopenness  i.year  , fe
{txt}note: 1 group (4 obs) dropped because of all zero outcomes
{res}
{txt}Iteration 0:{space 3}log likelihood = {res:-372.10575}  
Iteration 1:{space 3}log likelihood = {res:-360.26112}  
Iteration 2:{space 3}log likelihood = {res:-358.45733}  
Iteration 3:{space 3}log likelihood = {res:-358.23991}  
Iteration 4:{space 3}log likelihood = {res:-358.23645}  
Iteration 5:{space 3}log likelihood = {res:-358.23644}  
{res}
{txt}Conditional FE negative binomial regression{col 49}Number of obs{col 67}={col 69}{res}       167
{txt}Group variable: {res}cowcode{col 49}{txt}Number of groups{col 67}={col 69}{res}        19

{txt}{col 49}Obs per group:
{col 63}min{col 67}={col 69}{res}         2
{txt}{col 63}avg{col 67}={col 69}{res}       8.8
{txt}{col 63}max{col 67}={col 69}{res}        16

{txt}{col 49}Wald chi2({res}27{txt}){col 67}={col 70}{res}    76.19
{txt}Log likelihood  = {res}-358.23644{col 49}{txt}Prob > chi2{col 67}={res}{col 73}0.0000

{txt}{hline 24}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}      government_visits{col 25}{c |}      Coef.{col 37}   Std. Err.{col 49}      z{col 57}   P>|z|{col 65}     [95% Con{col 78}f. Interval]
{hline 24}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 6}government_visits {c |}
{space 20}L1. {c |}{col 25}{res}{space 2}  .008835{col 37}{space 2} .0086139{col 48}{space 1}    1.03{col 57}{space 3}0.305{col 65}{space 4} -.008048{col 78}{space 3}  .025718
{txt}{space 23} {c |}
{space 14}protestL1 {c |}{col 25}{res}{space 2} .0100768{col 37}{space 2} .0046066{col 48}{space 1}    2.19{col 57}{space 3}0.029{col 65}{space 4}  .001048{col 78}{space 3} .0191056
{txt}{space 14}polity2L1 {c |}{col 25}{res}{space 2} .0101974{col 37}{space 2} .0140745{col 48}{space 1}    0.72{col 57}{space 3}0.469{col 65}{space 4}-.0173881{col 78}{space 3} .0377829
{txt}{space 23} {c |}
c.protestL1#c.polity2L1 {c |}{col 25}{res}{space 2}-.0014738{col 37}{space 2} .0006047{col 48}{space 1}   -2.44{col 57}{space 3}0.015{col 65}{space 4} -.002659{col 78}{space 3}-.0002886
{txt}{space 23} {c |}
{space 16}lngdppc {c |}{col 25}{res}{space 2}-.4532482{col 37}{space 2} .2486083{col 48}{space 1}   -1.82{col 57}{space 3}0.068{col 65}{space 4}-.9405115{col 78}{space 3} .0340151
{txt}{space 18}lnpop {c |}{col 25}{res}{space 2} -.324151{col 37}{space 2} .3359257{col 48}{space 1}   -0.96{col 57}{space 3}0.335{col 65}{space 4}-.9825533{col 78}{space 3} .3342512
{txt}{space 7}NaturalResources {c |}{col 25}{res}{space 2} .0060815{col 37}{space 2} .0136194{col 48}{space 1}    0.45{col 57}{space 3}0.655{col 65}{space 4}-.0206121{col 78}{space 3} .0327752
{txt}{space 14}urban_pop {c |}{col 25}{res}{space 2}-.0349064{col 37}{space 2} .0257959{col 48}{space 1}   -1.35{col 57}{space 3}0.176{col 65}{space 4}-.0854655{col 78}{space 3} .0156526
{txt}{space 12}electricity {c |}{col 25}{res}{space 2}-.0002346{col 37}{space 2} .0056679{col 48}{space 1}   -0.04{col 57}{space 3}0.967{col 65}{space 4}-.0113435{col 78}{space 3} .0108743
{txt}{space 13}FDI_inflow {c |}{col 25}{res}{space 2}-.0001055{col 37}{space 2} .0100204{col 48}{space 1}   -0.01{col 57}{space 3}0.992{col 65}{space 4}-.0197451{col 78}{space 3} .0195341
{txt}{space 10}tradeopenness {c |}{col 25}{res}{space 2} .0072904{col 37}{space 2} .0031952{col 48}{space 1}    2.28{col 57}{space 3}0.023{col 65}{space 4} .0010279{col 78}{space 3}  .013553
{txt}{space 23} {c |}
{space 19}year {c |}
{space 18}2002  {c |}{col 25}{res}{space 2}-1.105324{col 37}{space 2}  .259093{col 48}{space 1}   -4.27{col 57}{space 3}0.000{col 65}{space 4}-1.613137{col 78}{space 3}-.5975113
{txt}{space 18}2003  {c |}{col 25}{res}{space 2}-.2433075{col 37}{space 2}   .27982{col 48}{space 1}   -0.87{col 57}{space 3}0.385{col 65}{space 4}-.7917447{col 78}{space 3} .3051297
{txt}{space 18}2004  {c |}{col 25}{res}{space 2}-.3900862{col 37}{space 2}  .272612{col 48}{space 1}   -1.43{col 57}{space 3}0.152{col 65}{space 4}-.9243958{col 78}{space 3} .1442234
{txt}{space 18}2005  {c |}{col 25}{res}{space 2} -.051307{col 37}{space 2} .3412949{col 48}{space 1}   -0.15{col 57}{space 3}0.881{col 65}{space 4}-.7202328{col 78}{space 3} .6176188
{txt}{space 18}2006  {c |}{col 25}{res}{space 2}-.0448422{col 37}{space 2} .2947428{col 48}{space 1}   -0.15{col 57}{space 3}0.879{col 65}{space 4}-.6225276{col 78}{space 3} .5328431
{txt}{space 18}2007  {c |}{col 25}{res}{space 2}-.0643874{col 37}{space 2} .2696202{col 48}{space 1}   -0.24{col 57}{space 3}0.811{col 65}{space 4}-.5928332{col 78}{space 3} .4640585
{txt}{space 18}2008  {c |}{col 25}{res}{space 2} .0856446{col 37}{space 2} .3023597{col 48}{space 1}    0.28{col 57}{space 3}0.777{col 65}{space 4}-.5069695{col 78}{space 3} .6782586
{txt}{space 18}2009  {c |}{col 25}{res}{space 2} .1928051{col 37}{space 2} .3114527{col 48}{space 1}    0.62{col 57}{space 3}0.536{col 65}{space 4}-.4176309{col 78}{space 3} .8032411
{txt}{space 18}2010  {c |}{col 25}{res}{space 2} .1275603{col 37}{space 2} .3280619{col 48}{space 1}    0.39{col 57}{space 3}0.697{col 65}{space 4}-.5154292{col 78}{space 3} .7705498
{txt}{space 18}2011  {c |}{col 25}{res}{space 2} -.020679{col 37}{space 2} .3672664{col 48}{space 1}   -0.06{col 57}{space 3}0.955{col 65}{space 4}-.7405078{col 78}{space 3} .6991498
{txt}{space 18}2012  {c |}{col 25}{res}{space 2} .2027712{col 37}{space 2} .3805629{col 48}{space 1}    0.53{col 57}{space 3}0.594{col 65}{space 4}-.5431184{col 78}{space 3} .9486609
{txt}{space 18}2013  {c |}{col 25}{res}{space 2} .2159695{col 37}{space 2} .4005154{col 48}{space 1}    0.54{col 57}{space 3}0.590{col 65}{space 4}-.5690262{col 78}{space 3} 1.000965
{txt}{space 18}2014  {c |}{col 25}{res}{space 2} .2973413{col 37}{space 2} .4062339{col 48}{space 1}    0.73{col 57}{space 3}0.464{col 65}{space 4}-.4988624{col 78}{space 3} 1.093545
{txt}{space 18}2015  {c |}{col 25}{res}{space 2} .2319005{col 37}{space 2} .4229134{col 48}{space 1}    0.55{col 57}{space 3}0.583{col 65}{space 4}-.5969945{col 78}{space 3} 1.060795
{txt}{space 18}2016  {c |}{col 25}{res}{space 2} .2881871{col 37}{space 2} .4488853{col 48}{space 1}    0.64{col 57}{space 3}0.521{col 65}{space 4} -.591612{col 78}{space 3} 1.167986
{txt}{space 18}2017  {c |}{col 25}{res}{space 2} .2057624{col 37}{space 2} .4613624{col 48}{space 1}    0.45{col 57}{space 3}0.656{col 65}{space 4}-.6984913{col 78}{space 3} 1.110016
{txt}{space 23} {c |}
{space 18}_cons {c |}{col 25}{res}{space 2} 13.46088{col 37}{space 2} 6.994285{col 48}{space 1}    1.92{col 57}{space 3}0.054{col 65}{space 4}-.2476659{col 78}{space 3} 27.16943
{txt}{hline 24}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
({res}est3{txt} stored)

{com}. eststo: xtnbreg government_visits L1.government_visits   c.protestL1##c.polity2L1  lngdppc lnpop NaturalResources  urban_pop electricity ChinaTradeOpenness chinese_ofdi_inflow_gdp chineseworkers_capita i.year  , fe
{txt}note: 1 group (1 obs) dropped because of only one obs per group
{res}
{txt}Iteration 0:{space 3}log likelihood = {res:-307.72225}  
Iteration 1:{space 3}log likelihood = {res:-296.87699}  
Iteration 2:{space 3}log likelihood = {res:-294.83689}  
Iteration 3:{space 3}log likelihood = {res:-294.77897}  
Iteration 4:{space 3}log likelihood = {res:-294.77895}  
{res}
{txt}Conditional FE negative binomial regression{col 49}Number of obs{col 67}={col 69}{res}       137
{txt}Group variable: {res}cowcode{col 49}{txt}Number of groups{col 67}={col 69}{res}        17

{txt}{col 49}Obs per group:
{col 63}min{col 67}={col 69}{res}         2
{txt}{col 63}avg{col 67}={col 69}{res}       8.1
{txt}{col 63}max{col 67}={col 69}{res}        14

{txt}{col 49}Wald chi2({res}26{txt}){col 67}={col 70}{res}    29.15
{txt}Log likelihood  = {res}-294.77895{col 49}{txt}Prob > chi2{col 67}={res}{col 73}0.3044

{txt}{hline 24}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}      government_visits{col 25}{c |}      Coef.{col 37}   Std. Err.{col 49}      z{col 57}   P>|z|{col 65}     [95% Con{col 78}f. Interval]
{hline 24}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 6}government_visits {c |}
{space 20}L1. {c |}{col 25}{res}{space 2} .0080618{col 37}{space 2} .0095444{col 48}{space 1}    0.84{col 57}{space 3}0.398{col 65}{space 4}-.0106449{col 78}{space 3} .0267685
{txt}{space 23} {c |}
{space 14}protestL1 {c |}{col 25}{res}{space 2} .0118876{col 37}{space 2} .0060023{col 48}{space 1}    1.98{col 57}{space 3}0.048{col 65}{space 4} .0001232{col 78}{space 3}  .023652
{txt}{space 14}polity2L1 {c |}{col 25}{res}{space 2}  .013998{col 37}{space 2} .0188198{col 48}{space 1}    0.74{col 57}{space 3}0.457{col 65}{space 4}-.0228881{col 78}{space 3}  .050884
{txt}{space 23} {c |}
c.protestL1#c.polity2L1 {c |}{col 25}{res}{space 2}-.0017088{col 37}{space 2} .0007941{col 48}{space 1}   -2.15{col 57}{space 3}0.031{col 65}{space 4}-.0032651{col 78}{space 3}-.0001524
{txt}{space 23} {c |}
{space 16}lngdppc {c |}{col 25}{res}{space 2}-.5131925{col 37}{space 2} .3681528{col 48}{space 1}   -1.39{col 57}{space 3}0.163{col 65}{space 4}-1.234759{col 78}{space 3} .2083737
{txt}{space 18}lnpop {c |}{col 25}{res}{space 2}-.4339626{col 37}{space 2} .3212978{col 48}{space 1}   -1.35{col 57}{space 3}0.177{col 65}{space 4}-1.063695{col 78}{space 3} .1957695
{txt}{space 7}NaturalResources {c |}{col 25}{res}{space 2} .0325618{col 37}{space 2} .0193434{col 48}{space 1}    1.68{col 57}{space 3}0.092{col 65}{space 4}-.0053505{col 78}{space 3} .0704741
{txt}{space 14}urban_pop {c |}{col 25}{res}{space 2}-.0035977{col 37}{space 2} .0304447{col 48}{space 1}   -0.12{col 57}{space 3}0.906{col 65}{space 4}-.0632682{col 78}{space 3} .0560727
{txt}{space 12}electricity {c |}{col 25}{res}{space 2} .0056643{col 37}{space 2} .0100649{col 48}{space 1}    0.56{col 57}{space 3}0.574{col 65}{space 4}-.0140624{col 78}{space 3} .0253911
{txt}{space 5}ChinaTradeOpenness {c |}{col 25}{res}{space 2}-.0202377{col 37}{space 2} .0140504{col 48}{space 1}   -1.44{col 57}{space 3}0.150{col 65}{space 4}-.0477759{col 78}{space 3} .0073006
{txt}chinese_ofdi_inflow_gdp {c |}{col 25}{res}{space 2}-.0833844{col 37}{space 2} .0699822{col 48}{space 1}   -1.19{col 57}{space 3}0.233{col 65}{space 4}-.2205469{col 78}{space 3} .0537782
{txt}{space 2}chineseworkers_capita {c |}{col 25}{res}{space 2} .0098218{col 37}{space 2}  .019642{col 48}{space 1}    0.50{col 57}{space 3}0.617{col 65}{space 4}-.0286758{col 78}{space 3} .0483194
{txt}{space 23} {c |}
{space 19}year {c |}
{space 18}2004  {c |}{col 25}{res}{space 2} .0800172{col 37}{space 2} .2757865{col 48}{space 1}    0.29{col 57}{space 3}0.772{col 65}{space 4}-.4605144{col 78}{space 3} .6205488
{txt}{space 18}2005  {c |}{col 25}{res}{space 2} .3367403{col 37}{space 2} .3504576{col 48}{space 1}    0.96{col 57}{space 3}0.337{col 65}{space 4} -.350144{col 78}{space 3} 1.023625
{txt}{space 18}2006  {c |}{col 25}{res}{space 2} .4454433{col 37}{space 2} .3697138{col 48}{space 1}    1.20{col 57}{space 3}0.228{col 65}{space 4}-.2791823{col 78}{space 3} 1.170069
{txt}{space 18}2007  {c |}{col 25}{res}{space 2} .3729976{col 37}{space 2}  .322533{col 48}{space 1}    1.16{col 57}{space 3}0.247{col 65}{space 4}-.2591555{col 78}{space 3} 1.005151
{txt}{space 18}2008  {c |}{col 25}{res}{space 2} .6014898{col 37}{space 2} .3644492{col 48}{space 1}    1.65{col 57}{space 3}0.099{col 65}{space 4}-.1128175{col 78}{space 3} 1.315797
{txt}{space 18}2009  {c |}{col 25}{res}{space 2} .5956047{col 37}{space 2} .3565851{col 48}{space 1}    1.67{col 57}{space 3}0.095{col 65}{space 4}-.1032892{col 78}{space 3} 1.294499
{txt}{space 18}2010  {c |}{col 25}{res}{space 2} .4327342{col 37}{space 2} .3849363{col 48}{space 1}    1.12{col 57}{space 3}0.261{col 65}{space 4}-.3217271{col 78}{space 3} 1.187196
{txt}{space 18}2011  {c |}{col 25}{res}{space 2} .3804465{col 37}{space 2} .4280137{col 48}{space 1}    0.89{col 57}{space 3}0.374{col 65}{space 4}-.4584449{col 78}{space 3} 1.219338
{txt}{space 18}2012  {c |}{col 25}{res}{space 2} .6144059{col 37}{space 2} .4458326{col 48}{space 1}    1.38{col 57}{space 3}0.168{col 65}{space 4}  -.25941{col 78}{space 3} 1.488222
{txt}{space 18}2013  {c |}{col 25}{res}{space 2} .5938861{col 37}{space 2} .4744249{col 48}{space 1}    1.25{col 57}{space 3}0.211{col 65}{space 4}-.3359695{col 78}{space 3} 1.523742
{txt}{space 18}2014  {c |}{col 25}{res}{space 2} .7119794{col 37}{space 2} .4697454{col 48}{space 1}    1.52{col 57}{space 3}0.130{col 65}{space 4}-.2087048{col 78}{space 3} 1.632663
{txt}{space 18}2015  {c |}{col 25}{res}{space 2} .5237535{col 37}{space 2}  .479694{col 48}{space 1}    1.09{col 57}{space 3}0.275{col 65}{space 4}-.4164294{col 78}{space 3} 1.463936
{txt}{space 18}2016  {c |}{col 25}{res}{space 2} .5688952{col 37}{space 2} .4905759{col 48}{space 1}    1.16{col 57}{space 3}0.246{col 65}{space 4}-.3926158{col 78}{space 3} 1.530406
{txt}{space 18}2017  {c |}{col 25}{res}{space 2}  .477102{col 37}{space 2}  .523334{col 48}{space 1}    0.91{col 57}{space 3}0.362{col 65}{space 4}-.5486138{col 78}{space 3} 1.502818
{txt}{space 23} {c |}
{space 18}_cons {c |}{col 25}{res}{space 2} 14.30114{col 37}{space 2} 6.902024{col 48}{space 1}    2.07{col 57}{space 3}0.038{col 65}{space 4} .7734257{col 78}{space 3} 27.82886
{txt}{hline 24}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
({res}est4{txt} stored)

{com}. eststo: xtnbreg government_visits L1.government_visits   c.protestL1##c.polity2L1  lngdppc lnpop NaturalResources  urban_pop electricity FDI_inflow tradeopenness chineseworkers_capita  bri_carryover  i.year  , fe
{txt}note: 1 group (1 obs) dropped because of only one obs per group
{res}
{txt}Iteration 0:{space 3}log likelihood = {res:-367.31938}  
Iteration 1:{space 3}log likelihood = {res: -355.7286}  
Iteration 2:{space 3}log likelihood = {res: -354.0813}  
Iteration 3:{space 3}log likelihood = {res:-353.85313}  
Iteration 4:{space 3}log likelihood = {res:-353.84698}  
Iteration 5:{space 3}log likelihood = {res:-353.84697}  
{res}
{txt}Conditional FE negative binomial regression{col 49}Number of obs{col 67}={col 69}{res}       164
{txt}Group variable: {res}cowcode{col 49}{txt}Number of groups{col 67}={col 69}{res}        18

{txt}{col 49}Obs per group:
{col 63}min{col 67}={col 69}{res}         2
{txt}{col 63}avg{col 67}={col 69}{res}       9.1
{txt}{col 63}max{col 67}={col 69}{res}        16

{txt}{col 49}Wald chi2({res}29{txt}){col 67}={col 70}{res}    71.67
{txt}Log likelihood  = {res}-353.84697{col 49}{txt}Prob > chi2{col 67}={res}{col 73}0.0000

{txt}{hline 24}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}      government_visits{col 25}{c |}      Coef.{col 37}   Std. Err.{col 49}      z{col 57}   P>|z|{col 65}     [95% Con{col 78}f. Interval]
{hline 24}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 6}government_visits {c |}
{space 20}L1. {c |}{col 25}{res}{space 2}    .0093{col 37}{space 2} .0086505{col 48}{space 1}    1.08{col 57}{space 3}0.282{col 65}{space 4}-.0076546{col 78}{space 3} .0262547
{txt}{space 23} {c |}
{space 14}protestL1 {c |}{col 25}{res}{space 2} .0096131{col 37}{space 2} .0049578{col 48}{space 1}    1.94{col 57}{space 3}0.053{col 65}{space 4}-.0001041{col 78}{space 3} .0193303
{txt}{space 14}polity2L1 {c |}{col 25}{res}{space 2} .0115786{col 37}{space 2}  .014135{col 48}{space 1}    0.82{col 57}{space 3}0.413{col 65}{space 4}-.0161255{col 78}{space 3} .0392827
{txt}{space 23} {c |}
c.protestL1#c.polity2L1 {c |}{col 25}{res}{space 2}-.0014162{col 37}{space 2} .0006637{col 48}{space 1}   -2.13{col 57}{space 3}0.033{col 65}{space 4}-.0027171{col 78}{space 3}-.0001153
{txt}{space 23} {c |}
{space 16}lngdppc {c |}{col 25}{res}{space 2}-.4537563{col 37}{space 2} .2556287{col 48}{space 1}   -1.78{col 57}{space 3}0.076{col 65}{space 4}-.9547794{col 78}{space 3} .0472668
{txt}{space 18}lnpop {c |}{col 25}{res}{space 2} -.355466{col 37}{space 2} .3472136{col 48}{space 1}   -1.02{col 57}{space 3}0.306{col 65}{space 4}-1.035992{col 78}{space 3} .3250602
{txt}{space 7}NaturalResources {c |}{col 25}{res}{space 2} .0000968{col 37}{space 2} .0167472{col 48}{space 1}    0.01{col 57}{space 3}0.995{col 65}{space 4} -.032727{col 78}{space 3} .0329207
{txt}{space 14}urban_pop {c |}{col 25}{res}{space 2}-.0326711{col 37}{space 2} .0258807{col 48}{space 1}   -1.26{col 57}{space 3}0.207{col 65}{space 4}-.0833964{col 78}{space 3} .0180543
{txt}{space 12}electricity {c |}{col 25}{res}{space 2}-.0005087{col 37}{space 2} .0059561{col 48}{space 1}   -0.09{col 57}{space 3}0.932{col 65}{space 4}-.0121823{col 78}{space 3}  .011165
{txt}{space 13}FDI_inflow {c |}{col 25}{res}{space 2} .0015599{col 37}{space 2} .0103558{col 48}{space 1}    0.15{col 57}{space 3}0.880{col 65}{space 4}-.0187371{col 78}{space 3}  .021857
{txt}{space 10}tradeopenness {c |}{col 25}{res}{space 2}   .00707{col 37}{space 2} .0033114{col 48}{space 1}    2.14{col 57}{space 3}0.033{col 65}{space 4} .0005797{col 78}{space 3} .0135603
{txt}{space 2}chineseworkers_capita {c |}{col 25}{res}{space 2}-.0029464{col 37}{space 2}  .015895{col 48}{space 1}   -0.19{col 57}{space 3}0.853{col 65}{space 4}-.0341001{col 78}{space 3} .0282073
{txt}{space 10}bri_carryover {c |}{col 25}{res}{space 2} -.039127{col 37}{space 2} .1496151{col 48}{space 1}   -0.26{col 57}{space 3}0.794{col 65}{space 4}-.3323673{col 78}{space 3} .2541133
{txt}{space 23} {c |}
{space 19}year {c |}
{space 18}2002  {c |}{col 25}{res}{space 2}-1.105661{col 37}{space 2} .2599368{col 48}{space 1}   -4.25{col 57}{space 3}0.000{col 65}{space 4}-1.615128{col 78}{space 3}-.5961939
{txt}{space 18}2003  {c |}{col 25}{res}{space 2}-.2400929{col 37}{space 2} .2845408{col 48}{space 1}   -0.84{col 57}{space 3}0.399{col 65}{space 4}-.7977827{col 78}{space 3} .3175968
{txt}{space 18}2004  {c |}{col 25}{res}{space 2} -.378521{col 37}{space 2} .2766083{col 48}{space 1}   -1.37{col 57}{space 3}0.171{col 65}{space 4}-.9206634{col 78}{space 3} .1636213
{txt}{space 18}2005  {c |}{col 25}{res}{space 2}-.0388806{col 37}{space 2}  .348593{col 48}{space 1}   -0.11{col 57}{space 3}0.911{col 65}{space 4}-.7221104{col 78}{space 3} .6443492
{txt}{space 18}2006  {c |}{col 25}{res}{space 2}-.0518676{col 37}{space 2} .3028316{col 48}{space 1}   -0.17{col 57}{space 3}0.864{col 65}{space 4}-.6454066{col 78}{space 3} .5416715
{txt}{space 18}2007  {c |}{col 25}{res}{space 2}-.0564833{col 37}{space 2} .2822792{col 48}{space 1}   -0.20{col 57}{space 3}0.841{col 65}{space 4}-.6097404{col 78}{space 3} .4967738
{txt}{space 18}2008  {c |}{col 25}{res}{space 2} .0909148{col 37}{space 2} .3175969{col 48}{space 1}    0.29{col 57}{space 3}0.775{col 65}{space 4}-.5315637{col 78}{space 3} .7133933
{txt}{space 18}2009  {c |}{col 25}{res}{space 2} .1911728{col 37}{space 2} .3292076{col 48}{space 1}    0.58{col 57}{space 3}0.561{col 65}{space 4}-.4540623{col 78}{space 3} .8364078
{txt}{space 18}2010  {c |}{col 25}{res}{space 2} .1326793{col 37}{space 2} .3478307{col 48}{space 1}    0.38{col 57}{space 3}0.703{col 65}{space 4}-.5490564{col 78}{space 3}  .814415
{txt}{space 18}2011  {c |}{col 25}{res}{space 2}-.0021623{col 37}{space 2} .3911004{col 48}{space 1}   -0.01{col 57}{space 3}0.996{col 65}{space 4}-.7687051{col 78}{space 3} .7643804
{txt}{space 18}2012  {c |}{col 25}{res}{space 2}  .193573{col 37}{space 2} .4093262{col 48}{space 1}    0.47{col 57}{space 3}0.636{col 65}{space 4}-.6086915{col 78}{space 3} .9958376
{txt}{space 18}2013  {c |}{col 25}{res}{space 2} .2259812{col 37}{space 2} .4472201{col 48}{space 1}    0.51{col 57}{space 3}0.613{col 65}{space 4}-.6505542{col 78}{space 3} 1.102517
{txt}{space 18}2014  {c |}{col 25}{res}{space 2} .3131494{col 37}{space 2} .4576823{col 48}{space 1}    0.68{col 57}{space 3}0.494{col 65}{space 4}-.5838914{col 78}{space 3}  1.21019
{txt}{space 18}2015  {c |}{col 25}{res}{space 2} .2465465{col 37}{space 2} .4784965{col 48}{space 1}    0.52{col 57}{space 3}0.606{col 65}{space 4}-.6912895{col 78}{space 3} 1.184382
{txt}{space 18}2016  {c |}{col 25}{res}{space 2} .3322987{col 37}{space 2} .5043197{col 48}{space 1}    0.66{col 57}{space 3}0.510{col 65}{space 4}-.6561497{col 78}{space 3} 1.320747
{txt}{space 18}2017  {c |}{col 25}{res}{space 2} .1952306{col 37}{space 2}   .56097{col 48}{space 1}    0.35{col 57}{space 3}0.728{col 65}{space 4}-.9042503{col 78}{space 3} 1.294711
{txt}{space 23} {c |}
{space 18}_cons {c |}{col 25}{res}{space 2} 14.02305{col 37}{space 2} 7.348433{col 48}{space 1}    1.91{col 57}{space 3}0.056{col 65}{space 4}-.3796146{col 78}{space 3} 28.42571
{txt}{hline 24}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
({res}est5{txt} stored)

{com}. 
{txt}end of do-file

{com}. do "C:\Users\yujeo\AppData\Local\Temp\STD01000000.tmp"
{txt}
{com}. *Table 2: Anti-China Protests and Polity on Chinese Aid*
. 
{txt}end of do-file

{com}. do "C:\Users\yujeo\AppData\Local\Temp\STD01000000.tmp"
{txt}
{com}. eststo clear
{txt}
{com}. eststo: xtreg OFa_all_pop_ln L1.OFa_all_pop_ln  c.protestL1##c.polity2L1   i.year  , fe  
{res}
{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}       179
{txt}Group variable: {res}cowcode{txt}{col 49}Number of groups{col 67}={col 69}{res}        21

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.2064{col 63}{txt}min{col 67}={col 69}{res}         3
{txt}     between = {res}0.0528{col 63}{txt}avg{col 67}={col 69}{res}       8.5
{txt}     overall = {res}0.0522{col 63}{txt}max{col 67}={col 69}{res}        13

{txt}{col 49}F({res}20{txt},{res}138{txt}){col 67}={col 70}{res}     1.79
{txt}corr(u_i, Xb){col 16}= {res}-0.1371{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0267

{txt}{hline 24}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}         OFa_all_pop_ln{col 25}{c |}      Coef.{col 37}   Std. Err.{col 49}      t{col 57}   P>|t|{col 65}     [95% Con{col 78}f. Interval]
{hline 24}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}OFa_all_pop_ln {c |}
{space 20}L1. {c |}{col 25}{res}{space 2}-.0307483{col 37}{space 2} .0894853{col 48}{space 1}   -0.34{col 57}{space 3}0.732{col 65}{space 4}-.2076878{col 78}{space 3} .1461912
{txt}{space 23} {c |}
{space 14}protestL1 {c |}{col 25}{res}{space 2}-.0024078{col 37}{space 2}  .001905{col 48}{space 1}   -1.26{col 57}{space 3}0.208{col 65}{space 4}-.0061744{col 78}{space 3} .0013589
{txt}{space 14}polity2L1 {c |}{col 25}{res}{space 2} .0411266{col 37}{space 2} .0383773{col 48}{space 1}    1.07{col 57}{space 3}0.286{col 65}{space 4}-.0347569{col 78}{space 3} .1170102
{txt}{space 23} {c |}
c.protestL1#c.polity2L1 {c |}{col 25}{res}{space 2}-.0001919{col 37}{space 2} .0002384{col 48}{space 1}   -0.80{col 57}{space 3}0.422{col 65}{space 4}-.0006634{col 78}{space 3} .0002795
{txt}{space 23} {c |}
{space 19}year {c |}
{space 18}2002  {c |}{col 25}{res}{space 2} .3537815{col 37}{space 2}  1.30575{col 48}{space 1}    0.27{col 57}{space 3}0.787{col 65}{space 4}-2.228082{col 78}{space 3} 2.935645
{txt}{space 18}2003  {c |}{col 25}{res}{space 2}-.2941607{col 37}{space 2} .9121847{col 48}{space 1}   -0.32{col 57}{space 3}0.748{col 65}{space 4}-2.097827{col 78}{space 3} 1.509505
{txt}{space 18}2004  {c |}{col 25}{res}{space 2} .7210286{col 37}{space 2} 1.036602{col 48}{space 1}    0.70{col 57}{space 3}0.488{col 65}{space 4}-1.328649{col 78}{space 3} 2.770706
{txt}{space 18}2005  {c |}{col 25}{res}{space 2} .9547466{col 37}{space 2} .9633112{col 48}{space 1}    0.99{col 57}{space 3}0.323{col 65}{space 4} -.950012{col 78}{space 3} 2.859505
{txt}{space 18}2006  {c |}{col 25}{res}{space 2}  1.06723{col 37}{space 2} .8843064{col 48}{space 1}    1.21{col 57}{space 3}0.230{col 65}{space 4}-.6813119{col 78}{space 3} 2.815772
{txt}{space 18}2007  {c |}{col 25}{res}{space 2}-.1877577{col 37}{space 2} .7540775{col 48}{space 1}   -0.25{col 57}{space 3}0.804{col 65}{space 4}-1.678798{col 78}{space 3} 1.303283
{txt}{space 18}2008  {c |}{col 25}{res}{space 2} .0502908{col 37}{space 2} .7814572{col 48}{space 1}    0.06{col 57}{space 3}0.949{col 65}{space 4}-1.494887{col 78}{space 3} 1.595469
{txt}{space 18}2009  {c |}{col 25}{res}{space 2} 1.276527{col 37}{space 2} .7521058{col 48}{space 1}    1.70{col 57}{space 3}0.092{col 65}{space 4}-.2106145{col 78}{space 3} 2.763668
{txt}{space 18}2010  {c |}{col 25}{res}{space 2} 1.018837{col 37}{space 2} .7298272{col 48}{space 1}    1.40{col 57}{space 3}0.165{col 65}{space 4} -.424253{col 78}{space 3} 2.461927
{txt}{space 18}2011  {c |}{col 25}{res}{space 2} 1.141996{col 37}{space 2} .7260536{col 48}{space 1}    1.57{col 57}{space 3}0.118{col 65}{space 4}-.2936323{col 78}{space 3} 2.577624
{txt}{space 18}2012  {c |}{col 25}{res}{space 2} 1.278743{col 37}{space 2}  .724894{col 48}{space 1}    1.76{col 57}{space 3}0.080{col 65}{space 4}-.1545923{col 78}{space 3} 2.712079
{txt}{space 18}2013  {c |}{col 25}{res}{space 2} 1.104384{col 37}{space 2}  .737557{col 48}{space 1}    1.50{col 57}{space 3}0.137{col 65}{space 4}-.3539905{col 78}{space 3} 2.562758
{txt}{space 18}2014  {c |}{col 25}{res}{space 2} .7748067{col 37}{space 2}  .732813{col 48}{space 1}    1.06{col 57}{space 3}0.292{col 65}{space 4}-.6741869{col 78}{space 3}   2.2238
{txt}{space 18}2015  {c |}{col 25}{res}{space 2} 1.243367{col 37}{space 2} .7408073{col 48}{space 1}    1.68{col 57}{space 3}0.096{col 65}{space 4}-.2214342{col 78}{space 3} 2.708168
{txt}{space 18}2016  {c |}{col 25}{res}{space 2} 1.643178{col 37}{space 2} .7335205{col 48}{space 1}    2.24{col 57}{space 3}0.027{col 65}{space 4} .1927853{col 78}{space 3} 3.093571
{txt}{space 18}2017  {c |}{col 25}{res}{space 2} 1.565607{col 37}{space 2} .7440146{col 48}{space 1}    2.10{col 57}{space 3}0.037{col 65}{space 4} .0944638{col 78}{space 3} 3.036749
{txt}{space 23} {c |}
{space 18}_cons {c |}{col 25}{res}{space 2} 1.370786{col 37}{space 2}  .679568{col 48}{space 1}    2.02{col 57}{space 3}0.046{col 65}{space 4} .0270739{col 78}{space 3} 2.714499
{txt}{hline 24}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
                sigma_u {c |} {res}  1.382286
                {txt}sigma_e {c |} {res} 1.0960674
                    {txt}rho {c |} {res} .61396741{txt}   (fraction of variance due to u_i)
{hline 24}{c BT}{hline 64}
F test that all u_i=0: F({res}20{txt}, {res}138{txt}) = {res}3.74{col 62}{txt}Prob > F = {res}0.0000
{txt}({res}est1{txt} stored)

{com}. eststo: xtreg OFa_all_pop_ln L1.OFa_all_pop_ln  c.protestL1##c.polity2L1  lngdppc lnpop NaturalResources  urban_pop electricity   i.year  , fe 
{res}
{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}       179
{txt}Group variable: {res}cowcode{txt}{col 49}Number of groups{col 67}={col 69}{res}        21

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.2280{col 63}{txt}min{col 67}={col 69}{res}         3
{txt}     between = {res}0.3447{col 63}{txt}avg{col 67}={col 69}{res}       8.5
{txt}     overall = {res}0.1751{col 63}{txt}max{col 67}={col 69}{res}        13

{txt}{col 49}F({res}25{txt},{res}133{txt}){col 67}={col 70}{res}     1.57
{txt}corr(u_i, Xb){col 16}= {res}-0.9915{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0543

{txt}{hline 24}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}         OFa_all_pop_ln{col 25}{c |}      Coef.{col 37}   Std. Err.{col 49}      t{col 57}   P>|t|{col 65}     [95% Con{col 78}f. Interval]
{hline 24}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}OFa_all_pop_ln {c |}
{space 20}L1. {c |}{col 25}{res}{space 2}-.0580245{col 37}{space 2}   .09253{col 48}{space 1}   -0.63{col 57}{space 3}0.532{col 65}{space 4}-.2410453{col 78}{space 3} .1249963
{txt}{space 23} {c |}
{space 14}protestL1 {c |}{col 25}{res}{space 2}-.0033303{col 37}{space 2} .0019996{col 48}{space 1}   -1.67{col 57}{space 3}0.098{col 65}{space 4}-.0072854{col 78}{space 3} .0006247
{txt}{space 14}polity2L1 {c |}{col 25}{res}{space 2} .0605362{col 37}{space 2} .0426016{col 48}{space 1}    1.42{col 57}{space 3}0.158{col 65}{space 4}-.0237281{col 78}{space 3} .1448004
{txt}{space 23} {c |}
c.protestL1#c.polity2L1 {c |}{col 25}{res}{space 2}-.0001546{col 37}{space 2} .0002584{col 48}{space 1}   -0.60{col 57}{space 3}0.551{col 65}{space 4}-.0006658{col 78}{space 3} .0003565
{txt}{space 23} {c |}
{space 16}lngdppc {c |}{col 25}{res}{space 2} .4156648{col 37}{space 2} .6968412{col 48}{space 1}    0.60{col 57}{space 3}0.552{col 65}{space 4}-.9626602{col 78}{space 3}  1.79399
{txt}{space 18}lnpop {c |}{col 25}{res}{space 2} 4.870388{col 37}{space 2}  5.70607{col 48}{space 1}    0.85{col 57}{space 3}0.395{col 65}{space 4}-6.415997{col 78}{space 3} 16.15677
{txt}{space 7}NaturalResources {c |}{col 25}{res}{space 2}-.0090884{col 37}{space 2} .0314562{col 48}{space 1}   -0.29{col 57}{space 3}0.773{col 65}{space 4}-.0713075{col 78}{space 3} .0531307
{txt}{space 14}urban_pop {c |}{col 25}{res}{space 2} .1628252{col 37}{space 2} .1027837{col 48}{space 1}    1.58{col 57}{space 3}0.116{col 65}{space 4}-.0404769{col 78}{space 3} .3661274
{txt}{space 12}electricity {c |}{col 25}{res}{space 2}-.0153424{col 37}{space 2} .0160169{col 48}{space 1}   -0.96{col 57}{space 3}0.340{col 65}{space 4}-.0470232{col 78}{space 3} .0163384
{txt}{space 23} {c |}
{space 19}year {c |}
{space 18}2002  {c |}{col 25}{res}{space 2} .3313885{col 37}{space 2} 1.312314{col 48}{space 1}    0.25{col 57}{space 3}0.801{col 65}{space 4}-2.264318{col 78}{space 3} 2.927095
{txt}{space 18}2003  {c |}{col 25}{res}{space 2} .3772653{col 37}{space 2}   1.0936{col 48}{space 1}    0.34{col 57}{space 3}0.731{col 65}{space 4}-1.785833{col 78}{space 3} 2.540363
{txt}{space 18}2004  {c |}{col 25}{res}{space 2} .9804595{col 37}{space 2} 1.187695{col 48}{space 1}    0.83{col 57}{space 3}0.411{col 65}{space 4}-1.368756{col 78}{space 3} 3.329675
{txt}{space 18}2005  {c |}{col 25}{res}{space 2} 1.187057{col 37}{space 2}  1.18344{col 48}{space 1}    1.00{col 57}{space 3}0.318{col 65}{space 4}-1.153742{col 78}{space 3} 3.527856
{txt}{space 18}2006  {c |}{col 25}{res}{space 2} .9991233{col 37}{space 2} 1.214645{col 48}{space 1}    0.82{col 57}{space 3}0.412{col 65}{space 4}-1.403398{col 78}{space 3} 3.401645
{txt}{space 18}2007  {c |}{col 25}{res}{space 2}-.4893005{col 37}{space 2} 1.123922{col 48}{space 1}   -0.44{col 57}{space 3}0.664{col 65}{space 4}-2.712375{col 78}{space 3} 1.733774
{txt}{space 18}2008  {c |}{col 25}{res}{space 2}-.3971469{col 37}{space 2} 1.254106{col 48}{space 1}   -0.32{col 57}{space 3}0.752{col 65}{space 4} -2.87772{col 78}{space 3} 2.083427
{txt}{space 18}2009  {c |}{col 25}{res}{space 2} .7406245{col 37}{space 2} 1.277595{col 48}{space 1}    0.58{col 57}{space 3}0.563{col 65}{space 4} -1.78641{col 78}{space 3} 3.267659
{txt}{space 18}2010  {c |}{col 25}{res}{space 2} .3176445{col 37}{space 2} 1.354455{col 48}{space 1}    0.23{col 57}{space 3}0.815{col 65}{space 4}-2.361414{col 78}{space 3} 2.996703
{txt}{space 18}2011  {c |}{col 25}{res}{space 2} .2529625{col 37}{space 2} 1.522315{col 48}{space 1}    0.17{col 57}{space 3}0.868{col 65}{space 4}-2.758118{col 78}{space 3} 3.264043
{txt}{space 18}2012  {c |}{col 25}{res}{space 2} .2934367{col 37}{space 2} 1.581667{col 48}{space 1}    0.19{col 57}{space 3}0.853{col 65}{space 4} -2.83504{col 78}{space 3} 3.421913
{txt}{space 18}2013  {c |}{col 25}{res}{space 2} .0116687{col 37}{space 2} 1.659075{col 48}{space 1}    0.01{col 57}{space 3}0.994{col 65}{space 4}-3.269918{col 78}{space 3} 3.293256
{txt}{space 18}2014  {c |}{col 25}{res}{space 2}-.4672863{col 37}{space 2} 1.753416{col 48}{space 1}   -0.27{col 57}{space 3}0.790{col 65}{space 4}-3.935475{col 78}{space 3} 3.000902
{txt}{space 18}2015  {c |}{col 25}{res}{space 2}-.0644175{col 37}{space 2}  1.81045{col 48}{space 1}   -0.04{col 57}{space 3}0.972{col 65}{space 4}-3.645417{col 78}{space 3} 3.516582
{txt}{space 18}2016  {c |}{col 25}{res}{space 2} .2053058{col 37}{space 2} 1.893492{col 48}{space 1}    0.11{col 57}{space 3}0.914{col 65}{space 4}-3.539947{col 78}{space 3} 3.950559
{txt}{space 18}2017  {c |}{col 25}{res}{space 2} .0705898{col 37}{space 2} 1.991412{col 48}{space 1}    0.04{col 57}{space 3}0.972{col 65}{space 4}-3.868346{col 78}{space 3} 4.009526
{txt}{space 23} {c |}
{space 18}_cons {c |}{col 25}{res}{space 2}-90.46125{col 37}{space 2} 101.0829{col 48}{space 1}   -0.89{col 57}{space 3}0.372{col 65}{space 4}-290.3993{col 78}{space 3} 109.4768
{txt}{hline 24}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
                sigma_u {c |} {res} 9.1817587
                {txt}sigma_e {c |} {res} 1.1011727
                    {txt}rho {c |} {res} .98582063{txt}   (fraction of variance due to u_i)
{hline 24}{c BT}{hline 64}
F test that all u_i=0: F({res}20{txt}, {res}133{txt}) = {res}3.28{col 62}{txt}Prob > F = {res}0.0000
{txt}({res}est2{txt} stored)

{com}. eststo: xtreg OFa_all_pop_ln L1.OFa_all_pop_ln  c.protestL1##c.polity2L1  lngdppc lnpop NaturalResources  urban_pop electricity FDI_inflow tradeopenness  i.year  , fe 
{res}
{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}       154
{txt}Group variable: {res}cowcode{txt}{col 49}Number of groups{col 67}={col 69}{res}        18

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.3272{col 63}{txt}min{col 67}={col 69}{res}         3
{txt}     between = {res}0.3190{col 63}{txt}avg{col 67}={col 69}{res}       8.6
{txt}     overall = {res}0.1244{col 63}{txt}max{col 67}={col 69}{res}        13

{txt}{col 49}F({res}27{txt},{res}109{txt}){col 67}={col 70}{res}     1.96
{txt}corr(u_i, Xb){col 16}= {res}-0.9817{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0079

{txt}{hline 24}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}         OFa_all_pop_ln{col 25}{c |}      Coef.{col 37}   Std. Err.{col 49}      t{col 57}   P>|t|{col 65}     [95% Con{col 78}f. Interval]
{hline 24}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}OFa_all_pop_ln {c |}
{space 20}L1. {c |}{col 25}{res}{space 2}-.0602625{col 37}{space 2} .0970466{col 48}{space 1}   -0.62{col 57}{space 3}0.536{col 65}{space 4}-.2526058{col 78}{space 3} .1320807
{txt}{space 23} {c |}
{space 14}protestL1 {c |}{col 25}{res}{space 2} .0254049{col 37}{space 2}   .01265{col 48}{space 1}    2.01{col 57}{space 3}0.047{col 65}{space 4} .0003331{col 78}{space 3} .0504767
{txt}{space 14}polity2L1 {c |}{col 25}{res}{space 2}  .081284{col 37}{space 2} .0466733{col 48}{space 1}    1.74{col 57}{space 3}0.084{col 65}{space 4} -.011221{col 78}{space 3} .1737891
{txt}{space 23} {c |}
c.protestL1#c.polity2L1 {c |}{col 25}{res}{space 2}-.0039345{col 37}{space 2} .0016455{col 48}{space 1}   -2.39{col 57}{space 3}0.019{col 65}{space 4}-.0071958{col 78}{space 3}-.0006731
{txt}{space 23} {c |}
{space 16}lngdppc {c |}{col 25}{res}{space 2} 2.003231{col 37}{space 2} .9085499{col 48}{space 1}    2.20{col 57}{space 3}0.030{col 65}{space 4} .2025145{col 78}{space 3} 3.803947
{txt}{space 18}lnpop {c |}{col 25}{res}{space 2} 3.362979{col 37}{space 2} 6.044065{col 48}{space 1}    0.56{col 57}{space 3}0.579{col 65}{space 4}-8.616161{col 78}{space 3} 15.34212
{txt}{space 7}NaturalResources {c |}{col 25}{res}{space 2}-.0851842{col 37}{space 2} .0408002{col 48}{space 1}   -2.09{col 57}{space 3}0.039{col 65}{space 4}-.1660488{col 78}{space 3}-.0043196
{txt}{space 14}urban_pop {c |}{col 25}{res}{space 2} .1544691{col 37}{space 2} .1096289{col 48}{space 1}    1.41{col 57}{space 3}0.162{col 65}{space 4}-.0628117{col 78}{space 3}   .37175
{txt}{space 12}electricity {c |}{col 25}{res}{space 2}-.0366327{col 37}{space 2} .0187791{col 48}{space 1}   -1.95{col 57}{space 3}0.054{col 65}{space 4}-.0738523{col 78}{space 3} .0005869
{txt}{space 13}FDI_inflow {c |}{col 25}{res}{space 2} .0157281{col 37}{space 2} .0210926{col 48}{space 1}    0.75{col 57}{space 3}0.457{col 65}{space 4}-.0260766{col 78}{space 3} .0575329
{txt}{space 10}tradeopenness {c |}{col 25}{res}{space 2} .0184846{col 37}{space 2} .0121907{col 48}{space 1}    1.52{col 57}{space 3}0.132{col 65}{space 4} -.005677{col 78}{space 3} .0426462
{txt}{space 23} {c |}
{space 19}year {c |}
{space 18}2002  {c |}{col 25}{res}{space 2} .6471038{col 37}{space 2} 1.284112{col 48}{space 1}    0.50{col 57}{space 3}0.615{col 65}{space 4}-1.897964{col 78}{space 3} 3.192172
{txt}{space 18}2003  {c |}{col 25}{res}{space 2} 1.160637{col 37}{space 2} 1.220247{col 48}{space 1}    0.95{col 57}{space 3}0.344{col 65}{space 4}-1.257852{col 78}{space 3} 3.579126
{txt}{space 18}2004  {c |}{col 25}{res}{space 2} 1.501242{col 37}{space 2} 1.412848{col 48}{space 1}    1.06{col 57}{space 3}0.290{col 65}{space 4}-1.298976{col 78}{space 3} 4.301461
{txt}{space 18}2005  {c |}{col 25}{res}{space 2} 1.290978{col 37}{space 2}  1.52032{col 48}{space 1}    0.85{col 57}{space 3}0.398{col 65}{space 4}-1.722245{col 78}{space 3} 4.304202
{txt}{space 18}2006  {c |}{col 25}{res}{space 2} .9215548{col 37}{space 2}   1.2949{col 48}{space 1}    0.71{col 57}{space 3}0.478{col 65}{space 4}-1.644896{col 78}{space 3} 3.488005
{txt}{space 18}2007  {c |}{col 25}{res}{space 2} -.752788{col 37}{space 2} 1.131799{col 48}{space 1}   -0.67{col 57}{space 3}0.507{col 65}{space 4}-2.995977{col 78}{space 3} 1.490401
{txt}{space 18}2008  {c |}{col 25}{res}{space 2}-.8981803{col 37}{space 2} 1.292553{col 48}{space 1}   -0.69{col 57}{space 3}0.489{col 65}{space 4}-3.459978{col 78}{space 3} 1.663618
{txt}{space 18}2009  {c |}{col 25}{res}{space 2} .5064877{col 37}{space 2} 1.307134{col 48}{space 1}    0.39{col 57}{space 3}0.699{col 65}{space 4}-2.084209{col 78}{space 3} 3.097184
{txt}{space 18}2010  {c |}{col 25}{res}{space 2}-.1657483{col 37}{space 2} 1.377166{col 48}{space 1}   -0.12{col 57}{space 3}0.904{col 65}{space 4}-2.895246{col 78}{space 3} 2.563749
{txt}{space 18}2011  {c |}{col 25}{res}{space 2} -.458595{col 37}{space 2} 1.540502{col 48}{space 1}   -0.30{col 57}{space 3}0.767{col 65}{space 4} -3.51182{col 78}{space 3}  2.59463
{txt}{space 18}2012  {c |}{col 25}{res}{space 2}-.1650489{col 37}{space 2} 1.603566{col 48}{space 1}   -0.10{col 57}{space 3}0.918{col 65}{space 4}-3.343264{col 78}{space 3} 3.013166
{txt}{space 18}2013  {c |}{col 25}{res}{space 2}-.6018947{col 37}{space 2} 1.680102{col 48}{space 1}   -0.36{col 57}{space 3}0.721{col 65}{space 4}-3.931803{col 78}{space 3} 2.728013
{txt}{space 18}2014  {c |}{col 25}{res}{space 2}-1.351231{col 37}{space 2} 1.776564{col 48}{space 1}   -0.76{col 57}{space 3}0.449{col 65}{space 4}-4.872323{col 78}{space 3} 2.169862
{txt}{space 18}2015  {c |}{col 25}{res}{space 2}-.9546184{col 37}{space 2} 1.851722{col 48}{space 1}   -0.52{col 57}{space 3}0.607{col 65}{space 4}-4.624671{col 78}{space 3} 2.715435
{txt}{space 18}2016  {c |}{col 25}{res}{space 2}-.6267753{col 37}{space 2} 1.924653{col 48}{space 1}   -0.33{col 57}{space 3}0.745{col 65}{space 4}-4.441375{col 78}{space 3} 3.187825
{txt}{space 18}2017  {c |}{col 25}{res}{space 2}-.6229461{col 37}{space 2} 2.003271{col 48}{space 1}   -0.31{col 57}{space 3}0.756{col 65}{space 4}-4.593364{col 78}{space 3} 3.347472
{txt}{space 23} {c |}
{space 18}_cons {c |}{col 25}{res}{space 2} -74.8187{col 37}{space 2} 106.1861{col 48}{space 1}   -0.70{col 57}{space 3}0.483{col 65}{space 4}-285.2761{col 78}{space 3} 135.6387
{txt}{hline 24}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
                sigma_u {c |} {res} 7.2453242
                {txt}sigma_e {c |} {res} 1.0647737
                    {txt}rho {c |} {res}  .9788593{txt}   (fraction of variance due to u_i)
{hline 24}{c BT}{hline 64}
F test that all u_i=0: F({res}17{txt}, {res}109{txt}) = {res}4.01{col 62}{txt}Prob > F = {res}0.0000
{txt}({res}est3{txt} stored)

{com}. eststo: xtreg OFa_all_pop_ln L1.OFa_all_pop_ln  c.protestL1##c.polity2L1  lngdppc lnpop NaturalResources  urban_pop electricity ChinaTradeOpenness chinese_ofdi_inflow_gdp chineseworkers_capita i.year  , fe  
{res}
{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}       136
{txt}Group variable: {res}cowcode{txt}{col 49}Number of groups{col 67}={col 69}{res}        18

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.3876{col 63}{txt}min{col 67}={col 69}{res}         1
{txt}     between = {res}0.2583{col 63}{txt}avg{col 67}={col 69}{res}       7.6
{txt}     overall = {res}0.2604{col 63}{txt}max{col 67}={col 69}{res}        13

{txt}{col 49}F({res}26{txt},{res}92{txt}){col 67}={col 70}{res}     2.24
{txt}corr(u_i, Xb){col 16}= {res}-0.9683{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0026

{txt}{hline 24}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}         OFa_all_pop_ln{col 25}{c |}      Coef.{col 37}   Std. Err.{col 49}      t{col 57}   P>|t|{col 65}     [95% Con{col 78}f. Interval]
{hline 24}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}OFa_all_pop_ln {c |}
{space 20}L1. {c |}{col 25}{res}{space 2}-.1294276{col 37}{space 2} .0984295{col 48}{space 1}   -1.31{col 57}{space 3}0.192{col 65}{space 4}-.3249171{col 78}{space 3}  .066062
{txt}{space 23} {c |}
{space 14}protestL1 {c |}{col 25}{res}{space 2} .0267322{col 37}{space 2} .0144089{col 48}{space 1}    1.86{col 57}{space 3}0.067{col 65}{space 4}-.0018851{col 78}{space 3} .0553494
{txt}{space 14}polity2L1 {c |}{col 25}{res}{space 2} .1085941{col 37}{space 2} .0517694{col 48}{space 1}    2.10{col 57}{space 3}0.039{col 65}{space 4} .0057756{col 78}{space 3} .2114125
{txt}{space 23} {c |}
c.protestL1#c.polity2L1 {c |}{col 25}{res}{space 2}-.0039705{col 37}{space 2} .0018479{col 48}{space 1}   -2.15{col 57}{space 3}0.034{col 65}{space 4}-.0076405{col 78}{space 3}-.0003005
{txt}{space 23} {c |}
{space 16}lngdppc {c |}{col 25}{res}{space 2} 1.722411{col 37}{space 2} 1.137902{col 48}{space 1}    1.51{col 57}{space 3}0.134{col 65}{space 4}-.5375599{col 78}{space 3} 3.982383
{txt}{space 18}lnpop {c |}{col 25}{res}{space 2}-3.290416{col 37}{space 2} 6.845432{col 48}{space 1}   -0.48{col 57}{space 3}0.632{col 65}{space 4}-16.88603{col 78}{space 3}  10.3052
{txt}{space 7}NaturalResources {c |}{col 25}{res}{space 2}-.1902439{col 37}{space 2} .0516104{col 48}{space 1}   -3.69{col 57}{space 3}0.000{col 65}{space 4}-.2927466{col 78}{space 3}-.0877411
{txt}{space 14}urban_pop {c |}{col 25}{res}{space 2} .0189922{col 37}{space 2}  .116901{col 48}{space 1}    0.16{col 57}{space 3}0.871{col 65}{space 4}-.2131833{col 78}{space 3} .2511678
{txt}{space 12}electricity {c |}{col 25}{res}{space 2}-.0369989{col 37}{space 2} .0232189{col 48}{space 1}   -1.59{col 57}{space 3}0.114{col 65}{space 4}-.0831135{col 78}{space 3} .0091158
{txt}{space 5}ChinaTradeOpenness {c |}{col 25}{res}{space 2}   .02418{col 37}{space 2} .0429638{col 48}{space 1}    0.56{col 57}{space 3}0.575{col 65}{space 4}-.0611497{col 78}{space 3} .1095098
{txt}chinese_ofdi_inflow_gdp {c |}{col 25}{res}{space 2} .3591013{col 37}{space 2} .1667201{col 48}{space 1}    2.15{col 57}{space 3}0.034{col 65}{space 4} .0279807{col 78}{space 3} .6902218
{txt}{space 2}chineseworkers_capita {c |}{col 25}{res}{space 2}-.0251331{col 37}{space 2} .0473556{col 48}{space 1}   -0.53{col 57}{space 3}0.597{col 65}{space 4}-.1191855{col 78}{space 3} .0689193
{txt}{space 23} {c |}
{space 19}year {c |}
{space 18}2004  {c |}{col 25}{res}{space 2} .9603966{col 37}{space 2} 1.040028{col 48}{space 1}    0.92{col 57}{space 3}0.358{col 65}{space 4}-1.105189{col 78}{space 3} 3.025983
{txt}{space 18}2005  {c |}{col 25}{res}{space 2} .4991799{col 37}{space 2} 1.307268{col 48}{space 1}    0.38{col 57}{space 3}0.703{col 65}{space 4}-2.097167{col 78}{space 3} 3.095527
{txt}{space 18}2006  {c |}{col 25}{res}{space 2} .4110946{col 37}{space 2} 1.196562{col 48}{space 1}    0.34{col 57}{space 3}0.732{col 65}{space 4}-1.965381{col 78}{space 3}  2.78757
{txt}{space 18}2007  {c |}{col 25}{res}{space 2} -.998552{col 37}{space 2} 1.117078{col 48}{space 1}   -0.89{col 57}{space 3}0.374{col 65}{space 4}-3.217165{col 78}{space 3} 1.220061
{txt}{space 18}2008  {c |}{col 25}{res}{space 2}-.8136966{col 37}{space 2} 1.287505{col 48}{space 1}   -0.63{col 57}{space 3}0.529{col 65}{space 4}-3.370793{col 78}{space 3}   1.7434
{txt}{space 18}2009  {c |}{col 25}{res}{space 2}  .104413{col 37}{space 2} 1.304642{col 48}{space 1}    0.08{col 57}{space 3}0.936{col 65}{space 4}-2.486719{col 78}{space 3} 2.695545
{txt}{space 18}2010  {c |}{col 25}{res}{space 2}-.1052777{col 37}{space 2} 1.463519{col 48}{space 1}   -0.07{col 57}{space 3}0.943{col 65}{space 4}-3.011954{col 78}{space 3} 2.801398
{txt}{space 18}2011  {c |}{col 25}{res}{space 2}-.3530331{col 37}{space 2} 1.664436{col 48}{space 1}   -0.21{col 57}{space 3}0.832{col 65}{space 4}-3.658747{col 78}{space 3} 2.952681
{txt}{space 18}2012  {c |}{col 25}{res}{space 2} .0207299{col 37}{space 2} 1.732723{col 48}{space 1}    0.01{col 57}{space 3}0.990{col 65}{space 4}-3.420607{col 78}{space 3} 3.462067
{txt}{space 18}2013  {c |}{col 25}{res}{space 2}-.2053271{col 37}{space 2} 1.815526{col 48}{space 1}   -0.11{col 57}{space 3}0.910{col 65}{space 4}-3.811118{col 78}{space 3} 3.400464
{txt}{space 18}2014  {c |}{col 25}{res}{space 2}-.8979549{col 37}{space 2} 1.912482{col 48}{space 1}   -0.47{col 57}{space 3}0.640{col 65}{space 4}-4.696309{col 78}{space 3} 2.900399
{txt}{space 18}2015  {c |}{col 25}{res}{space 2}-.3358911{col 37}{space 2}  1.94581{col 48}{space 1}   -0.17{col 57}{space 3}0.863{col 65}{space 4}-4.200438{col 78}{space 3} 3.528656
{txt}{space 18}2016  {c |}{col 25}{res}{space 2}-.0015844{col 37}{space 2} 2.003162{col 48}{space 1}   -0.00{col 57}{space 3}0.999{col 65}{space 4}-3.980038{col 78}{space 3} 3.976869
{txt}{space 18}2017  {c |}{col 25}{res}{space 2}-.0269132{col 37}{space 2} 2.120157{col 48}{space 1}   -0.01{col 57}{space 3}0.990{col 65}{space 4}-4.237729{col 78}{space 3} 4.183902
{txt}{space 23} {c |}
{space 18}_cons {c |}{col 25}{res}{space 2} 49.86971{col 37}{space 2} 120.9447{col 48}{space 1}    0.41{col 57}{space 3}0.681{col 65}{space 4} -190.337{col 78}{space 3} 290.0764
{txt}{hline 24}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
                sigma_u {c |} {res}  5.527076
                {txt}sigma_e {c |} {res}  1.023285
                    {txt}rho {c |} {res} .96685901{txt}   (fraction of variance due to u_i)
{hline 24}{c BT}{hline 64}
F test that all u_i=0: F({res}17{txt}, {res}92{txt}) = {res}4.86{col 62}{txt}Prob > F = {res}0.0000
{txt}({res}est4{txt} stored)

{com}. eststo: xtreg OFa_all_pop_ln L1.OFa_all_pop_ln  c.protestL1##c.polity2L1  lngdppc lnpop NaturalResources  urban_pop electricity FDI_inflow tradeopenness chineseworkers_capita  bri_carryover  i.year , fe  
{res}
{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}       153
{txt}Group variable: {res}cowcode{txt}{col 49}Number of groups{col 67}={col 69}{res}        18

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.3564{col 63}{txt}min{col 67}={col 69}{res}         3
{txt}     between = {res}0.3280{col 63}{txt}avg{col 67}={col 69}{res}       8.5
{txt}     overall = {res}0.1368{col 63}{txt}max{col 67}={col 69}{res}        13

{txt}{col 49}F({res}29{txt},{res}106{txt}){col 67}={col 70}{res}     2.02
{txt}corr(u_i, Xb){col 16}= {res}-0.9887{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0050

{txt}{hline 24}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}         OFa_all_pop_ln{col 25}{c |}      Coef.{col 37}   Std. Err.{col 49}      t{col 57}   P>|t|{col 65}     [95% Con{col 78}f. Interval]
{hline 24}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}OFa_all_pop_ln {c |}
{space 20}L1. {c |}{col 25}{res}{space 2}-.0800524{col 37}{space 2} .0975105{col 48}{space 1}   -0.82{col 57}{space 3}0.414{col 65}{space 4}-.2733766{col 78}{space 3} .1132717
{txt}{space 23} {c |}
{space 14}protestL1 {c |}{col 25}{res}{space 2} .0232132{col 37}{space 2} .0131114{col 48}{space 1}    1.77{col 57}{space 3}0.080{col 65}{space 4}-.0027813{col 78}{space 3} .0492078
{txt}{space 14}polity2L1 {c |}{col 25}{res}{space 2} .0868698{col 37}{space 2} .0461886{col 48}{space 1}    1.88{col 57}{space 3}0.063{col 65}{space 4}-.0047037{col 78}{space 3} .1784433
{txt}{space 23} {c |}
c.protestL1#c.polity2L1 {c |}{col 25}{res}{space 2}-.0036292{col 37}{space 2}  .001724{col 48}{space 1}   -2.11{col 57}{space 3}0.038{col 65}{space 4}-.0070472{col 78}{space 3}-.0002111
{txt}{space 23} {c |}
{space 16}lngdppc {c |}{col 25}{res}{space 2} 2.400107{col 37}{space 2}  .934457{col 48}{space 1}    2.57{col 57}{space 3}0.012{col 65}{space 4} .5474554{col 78}{space 3} 4.252759
{txt}{space 18}lnpop {c |}{col 25}{res}{space 2} 4.610149{col 37}{space 2} 6.308391{col 48}{space 1}    0.73{col 57}{space 3}0.467{col 65}{space 4} -7.89685{col 78}{space 3} 17.11715
{txt}{space 7}NaturalResources {c |}{col 25}{res}{space 2}-.1008639{col 37}{space 2}  .042523{col 48}{space 1}   -2.37{col 57}{space 3}0.019{col 65}{space 4}-.1851699{col 78}{space 3} -.016558
{txt}{space 14}urban_pop {c |}{col 25}{res}{space 2}  .176526{col 37}{space 2}   .10939{col 48}{space 1}    1.61{col 57}{space 3}0.110{col 65}{space 4}-.0403504{col 78}{space 3} .3934024
{txt}{space 12}electricity {c |}{col 25}{res}{space 2}-.0339151{col 37}{space 2} .0187976{col 48}{space 1}   -1.80{col 57}{space 3}0.074{col 65}{space 4}-.0711831{col 78}{space 3}  .003353
{txt}{space 13}FDI_inflow {c |}{col 25}{res}{space 2}-.0027486{col 37}{space 2} .0222224{col 48}{space 1}   -0.12{col 57}{space 3}0.902{col 65}{space 4}-.0468067{col 78}{space 3} .0413095
{txt}{space 10}tradeopenness {c |}{col 25}{res}{space 2} .0200117{col 37}{space 2} .0126092{col 48}{space 1}    1.59{col 57}{space 3}0.115{col 65}{space 4}-.0049872{col 78}{space 3} .0450106
{txt}{space 2}chineseworkers_capita {c |}{col 25}{res}{space 2} .0948401{col 37}{space 2} .0406068{col 48}{space 1}    2.34{col 57}{space 3}0.021{col 65}{space 4} .0143332{col 78}{space 3} .1753471
{txt}{space 10}bri_carryover {c |}{col 25}{res}{space 2}  .083426{col 37}{space 2} .4133177{col 48}{space 1}    0.20{col 57}{space 3}0.840{col 65}{space 4}-.7360166{col 78}{space 3} .9028686
{txt}{space 23} {c |}
{space 19}year {c |}
{space 18}2002  {c |}{col 25}{res}{space 2} .5142542{col 37}{space 2} 1.269665{col 48}{space 1}    0.41{col 57}{space 3}0.686{col 65}{space 4} -2.00298{col 78}{space 3} 3.031489
{txt}{space 18}2003  {c |}{col 25}{res}{space 2} 1.227195{col 37}{space 2} 1.210551{col 48}{space 1}    1.01{col 57}{space 3}0.313{col 65}{space 4} -1.17284{col 78}{space 3}  3.62723
{txt}{space 18}2004  {c |}{col 25}{res}{space 2} 1.309646{col 37}{space 2} 1.399111{col 48}{space 1}    0.94{col 57}{space 3}0.351{col 65}{space 4}-1.464228{col 78}{space 3}  4.08352
{txt}{space 18}2005  {c |}{col 25}{res}{space 2} 1.141658{col 37}{space 2} 1.508762{col 48}{space 1}    0.76{col 57}{space 3}0.451{col 65}{space 4} -1.84961{col 78}{space 3} 4.132925
{txt}{space 18}2006  {c |}{col 25}{res}{space 2} .7199506{col 37}{space 2} 1.282528{col 48}{space 1}    0.56{col 57}{space 3}0.576{col 65}{space 4}-1.822786{col 78}{space 3} 3.262687
{txt}{space 18}2007  {c |}{col 25}{res}{space 2}-1.074286{col 37}{space 2} 1.126301{col 48}{space 1}   -0.95{col 57}{space 3}0.342{col 65}{space 4}-3.307288{col 78}{space 3} 1.158716
{txt}{space 18}2008  {c |}{col 25}{res}{space 2}-1.249326{col 37}{space 2} 1.285503{col 48}{space 1}   -0.97{col 57}{space 3}0.333{col 65}{space 4}-3.797961{col 78}{space 3} 1.299309
{txt}{space 18}2009  {c |}{col 25}{res}{space 2} .1078282{col 37}{space 2} 1.302618{col 48}{space 1}    0.08{col 57}{space 3}0.934{col 65}{space 4}-2.474738{col 78}{space 3} 2.690394
{txt}{space 18}2010  {c |}{col 25}{res}{space 2}-.5851141{col 37}{space 2} 1.372537{col 48}{space 1}   -0.43{col 57}{space 3}0.671{col 65}{space 4}-3.306303{col 78}{space 3} 2.136075
{txt}{space 18}2011  {c |}{col 25}{res}{space 2}-1.072412{col 37}{space 2} 1.543673{col 48}{space 1}   -0.69{col 57}{space 3}0.489{col 65}{space 4}-4.132894{col 78}{space 3}  1.98807
{txt}{space 18}2012  {c |}{col 25}{res}{space 2}-.8898867{col 37}{space 2} 1.612967{col 48}{space 1}   -0.55{col 57}{space 3}0.582{col 65}{space 4}-4.087751{col 78}{space 3} 2.307978
{txt}{space 18}2013  {c |}{col 25}{res}{space 2}-1.370307{col 37}{space 2} 1.695761{col 48}{space 1}   -0.81{col 57}{space 3}0.421{col 65}{space 4}-4.732318{col 78}{space 3} 1.991704
{txt}{space 18}2014  {c |}{col 25}{res}{space 2}-2.165061{col 37}{space 2} 1.792938{col 48}{space 1}   -1.21{col 57}{space 3}0.230{col 65}{space 4}-5.719734{col 78}{space 3} 1.389612
{txt}{space 18}2015  {c |}{col 25}{res}{space 2} -1.80747{col 37}{space 2} 1.874621{col 48}{space 1}   -0.96{col 57}{space 3}0.337{col 65}{space 4}-5.524088{col 78}{space 3} 1.909148
{txt}{space 18}2016  {c |}{col 25}{res}{space 2} -1.55023{col 37}{space 2} 1.952026{col 48}{space 1}   -0.79{col 57}{space 3}0.429{col 65}{space 4}-5.420311{col 78}{space 3} 2.319851
{txt}{space 18}2017  {c |}{col 25}{res}{space 2}-1.544005{col 37}{space 2} 2.051018{col 48}{space 1}   -0.75{col 57}{space 3}0.453{col 65}{space 4}-5.610349{col 78}{space 3} 2.522338
{txt}{space 23} {c |}
{space 18}_cons {c |}{col 25}{res}{space 2}-100.2424{col 37}{space 2} 110.4249{col 48}{space 1}   -0.91{col 57}{space 3}0.366{col 65}{space 4}-319.1704{col 78}{space 3} 118.6857
{txt}{hline 24}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
                sigma_u {c |} {res} 9.0759915
                {txt}sigma_e {c |} {res} 1.0516032
                    {txt}rho {c |} {res}  .9867528{txt}   (fraction of variance due to u_i)
{hline 24}{c BT}{hline 64}
F test that all u_i=0: F({res}17{txt}, {res}106{txt}) = {res}4.23{col 62}{txt}Prob > F = {res}0.0000
{txt}({res}est5{txt} stored)

{com}. 
{txt}end of do-file

{com}. do "C:\Users\yujeo\AppData\Local\Temp\STD01000000.tmp"
{txt}
{com}. ****************
. ***APPENDICES***
. ****************
. 
{txt}end of do-file

{com}. do "C:\Users\yujeo\AppData\Local\Temp\STD01000000.tmp"
{txt}
{com}. *Table A1: Summary Statistics
. 
{txt}end of do-file

{com}. do "C:\Users\yujeo\AppData\Local\Temp\STD01000000.tmp"
{txt}
{com}.  sum government_visits  total_elite_visits   OFa_all_pop_ln protest polity2  lngdppc lngdp NaturalResources  urban_pop electricity FDI_inflow tradeopenness chineseworkers_capita  bri_carryover ChinaTradeOpenness chinese_ofdi_inflow_gdp   

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
government~s {c |}{res}        459    8.185185    6.422065          0         77
{txt}total_elit~s {c |}{res}        459    9.204793     7.06346          0         86
{txt}OFa_all_po~n {c |}{res}        420    2.285199    1.833286          0   7.232854
{txt}{space 5}protest {c |}{res}        297    27.14141    56.56144          1        461
{txt}{space 5}polity2 {c |}{res}        425    .9458824    6.432479        -10         10
{txt}{hline 13}{c +}{hline 57}
{space 5}lngdppc {c |}{res}        539    7.413654    .9949227   4.860585   9.539042
{txt}{space 7}lngdp {c |}{res}        539    23.59997    2.311229   19.01465   28.67185
{txt}NaturalRes~s {c |}{res}        539    6.918816    11.17593    .002584   87.57735
{txt}{space 3}urban_pop {c |}{res}        541    35.41075    15.04198     12.978     79.621
{txt}{space 1}electricity {c |}{res}        541    79.88765    23.32143   1.613591        100
{txt}{hline 13}{c +}{hline 57}
{space 2}FDI_inflow {c |}{res}        523    3.678446    4.815598  -37.17265   43.91211
{txt}tradeopenn~s {c |}{res}        454    84.53002    38.26821    11.8554   220.4068
{txt}chinesewor~a {c |}{res}        423    6.153324    13.26161   .0041674   100.1737
{txt}bri_carryo~r {c |}{res}        541    .1756007    .3808323          0          1
{txt}ChinaTrade~s {c |}{res}        363    8.740001    10.48613   .0824347   65.81332
{txt}{hline 13}{c +}{hline 57}
chinese_of~p {c |}{res}        387    .8142986    2.192597     -10.12   15.96552
{txt}
{com}. 
{txt}end of do-file

{com}. do "C:\Users\yujeo\AppData\Local\Temp\STD01000000.tmp"
{txt}
{com}. *Table A2: Anti-China Protests and Polity on Government Elite Visits (No Year-fixed effects)*
. 
{txt}end of do-file

{com}. do "C:\Users\yujeo\AppData\Local\Temp\STD01000000.tmp"
{txt}
{com}. eststo clear
{txt}
{com}. eststo: xtnbreg government_visits L1.government_visits  c.protestL1##c.polity2L1  yeartrend  , fe
{txt}note: 1 group (4 obs) dropped because of all zero outcomes
{res}
{txt}Iteration 0:{space 3}log likelihood = {res:-437.10019}  
Iteration 1:{space 3}log likelihood = {res: -431.4406}  
Iteration 2:{space 3}log likelihood = {res:-431.32811}  
Iteration 3:{space 3}log likelihood = {res:-431.32771}  
Iteration 4:{space 3}log likelihood = {res:-431.32771}  
{res}
{txt}Conditional FE negative binomial regression{col 49}Number of obs{col 67}={col 69}{res}       188
{txt}Group variable: {res}cowcode{col 49}{txt}Number of groups{col 67}={col 69}{res}        22

{txt}{col 49}Obs per group:
{col 63}min{col 67}={col 69}{res}         2
{txt}{col 63}avg{col 67}={col 69}{res}       8.5
{txt}{col 63}max{col 67}={col 69}{res}        16

{txt}{col 49}Wald chi2({res}5{txt}){col 67}={col 70}{res}    15.20
{txt}Log likelihood  = {res}-431.32771{col 49}{txt}Prob > chi2{col 67}={res}{col 73}0.0095

{txt}{hline 24}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}      government_visits{col 25}{c |}      Coef.{col 37}   Std. Err.{col 49}      z{col 57}   P>|z|{col 65}     [95% Con{col 78}f. Interval]
{hline 24}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 6}government_visits {c |}
{space 20}L1. {c |}{col 25}{res}{space 2} .0069957{col 37}{space 2} .0083108{col 48}{space 1}    0.84{col 57}{space 3}0.400{col 65}{space 4}-.0092932{col 78}{space 3} .0232846
{txt}{space 23} {c |}
{space 14}protestL1 {c |}{col 25}{res}{space 2} .0004416{col 37}{space 2} .0007077{col 48}{space 1}    0.62{col 57}{space 3}0.533{col 65}{space 4}-.0009455{col 78}{space 3} .0018287
{txt}{space 14}polity2L1 {c |}{col 25}{res}{space 2}  .004686{col 37}{space 2} .0140469{col 48}{space 1}    0.33{col 57}{space 3}0.739{col 65}{space 4}-.0228454{col 78}{space 3} .0322174
{txt}{space 23} {c |}
c.protestL1#c.polity2L1 {c |}{col 25}{res}{space 2}-.0001475{col 37}{space 2} .0000871{col 48}{space 1}   -1.69{col 57}{space 3}0.090{col 65}{space 4}-.0003182{col 78}{space 3} .0000232
{txt}{space 23} {c |}
{space 14}yeartrend {c |}{col 25}{res}{space 2}-.0237542{col 37}{space 2} .0104953{col 48}{space 1}   -2.26{col 57}{space 3}0.024{col 65}{space 4}-.0443246{col 78}{space 3}-.0031838
{txt}{space 18}_cons {c |}{col 25}{res}{space 2} 2.612634{col 37}{space 2} .2966888{col 48}{space 1}    8.81{col 57}{space 3}0.000{col 65}{space 4} 2.031135{col 78}{space 3} 3.194134
{txt}{hline 24}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
({res}est1{txt} stored)

{com}. eststo: xtnbreg government_visits L1.government_visits  c.protestL1##c.polity2L1  lngdppc lngdp NaturalResources  urban_pop electricity     yeartrend , fe
{txt}note: 1 group (4 obs) dropped because of all zero outcomes
{res}
{txt}Iteration 0:{space 3}log likelihood = {res:-435.34002}  
Iteration 1:{space 3}log likelihood = {res:-425.04293}  
Iteration 2:{space 3}log likelihood = {res:-424.52003}  
Iteration 3:{space 3}log likelihood = {res:-424.51643}  
Iteration 4:{space 3}log likelihood = {res:-424.51643}  
{res}
{txt}Conditional FE negative binomial regression{col 49}Number of obs{col 67}={col 69}{res}       188
{txt}Group variable: {res}cowcode{col 49}{txt}Number of groups{col 67}={col 69}{res}        22

{txt}{col 49}Obs per group:
{col 63}min{col 67}={col 69}{res}         2
{txt}{col 63}avg{col 67}={col 69}{res}       8.5
{txt}{col 63}max{col 67}={col 69}{res}        16

{txt}{col 49}Wald chi2({res}10{txt}){col 67}={col 70}{res}    30.12
{txt}Log likelihood  = {res}-424.51643{col 49}{txt}Prob > chi2{col 67}={res}{col 73}0.0008

{txt}{hline 24}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}      government_visits{col 25}{c |}      Coef.{col 37}   Std. Err.{col 49}      z{col 57}   P>|z|{col 65}     [95% Con{col 78}f. Interval]
{hline 24}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 6}government_visits {c |}
{space 20}L1. {c |}{col 25}{res}{space 2} .0054943{col 37}{space 2} .0087847{col 48}{space 1}    0.63{col 57}{space 3}0.532{col 65}{space 4}-.0117235{col 78}{space 3}  .022712
{txt}{space 23} {c |}
{space 14}protestL1 {c |}{col 25}{res}{space 2} .0005037{col 37}{space 2} .0007046{col 48}{space 1}    0.71{col 57}{space 3}0.475{col 65}{space 4}-.0008773{col 78}{space 3} .0018847
{txt}{space 14}polity2L1 {c |}{col 25}{res}{space 2} .0059553{col 37}{space 2} .0148825{col 48}{space 1}    0.40{col 57}{space 3}0.689{col 65}{space 4}-.0232139{col 78}{space 3} .0351246
{txt}{space 23} {c |}
c.protestL1#c.polity2L1 {c |}{col 25}{res}{space 2}-.0002024{col 37}{space 2} .0000903{col 48}{space 1}   -2.24{col 57}{space 3}0.025{col 65}{space 4}-.0003793{col 78}{space 3}-.0000255
{txt}{space 23} {c |}
{space 16}lngdppc {c |}{col 25}{res}{space 2}-.2668173{col 37}{space 2} .2335116{col 48}{space 1}   -1.14{col 57}{space 3}0.253{col 65}{space 4}-.7244917{col 78}{space 3} .1908572
{txt}{space 18}lngdp {c |}{col 25}{res}{space 2} -.299124{col 37}{space 2} .1745531{col 48}{space 1}   -1.71{col 57}{space 3}0.087{col 65}{space 4}-.6412418{col 78}{space 3} .0429937
{txt}{space 7}NaturalResources {c |}{col 25}{res}{space 2}  .016932{col 37}{space 2} .0100077{col 48}{space 1}    1.69{col 57}{space 3}0.091{col 65}{space 4}-.0026827{col 78}{space 3} .0365467
{txt}{space 14}urban_pop {c |}{col 25}{res}{space 2} .0166948{col 37}{space 2} .0168694{col 48}{space 1}    0.99{col 57}{space 3}0.322{col 65}{space 4}-.0163687{col 78}{space 3} .0497582
{txt}{space 12}electricity {c |}{col 25}{res}{space 2} .0025812{col 37}{space 2} .0050835{col 48}{space 1}    0.51{col 57}{space 3}0.612{col 65}{space 4}-.0073823{col 78}{space 3} .0125448
{txt}{space 14}yeartrend {c |}{col 25}{res}{space 2} .0270639{col 37}{space 2} .0219966{col 48}{space 1}    1.23{col 57}{space 3}0.219{col 65}{space 4}-.0160487{col 78}{space 3} .0701765
{txt}{space 18}_cons {c |}{col 25}{res}{space 2} 10.89273{col 37}{space 2} 3.608522{col 48}{space 1}    3.02{col 57}{space 3}0.003{col 65}{space 4} 3.820154{col 78}{space 3}  17.9653
{txt}{hline 24}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
({res}est2{txt} stored)

{com}. eststo: xtnbreg government_visits L1.government_visits  c.protestL1##c.polity2L1  lngdppc lngdp NaturalResources  urban_pop electricity FDI_inflow tradeopenness  yeartrend  , fe
{txt}note: 1 group (4 obs) dropped because of all zero outcomes
{res}
{txt}Iteration 0:{space 3}log likelihood = {res:-383.43092}  
Iteration 1:{space 3}log likelihood = {res:-373.30256}  
Iteration 2:{space 3}log likelihood = {res:-372.02533}  
Iteration 3:{space 3}log likelihood = {res:-371.99948}  
Iteration 4:{space 3}log likelihood = {res:-371.99934}  
Iteration 5:{space 3}log likelihood = {res:-371.99934}  
{res}
{txt}Conditional FE negative binomial regression{col 49}Number of obs{col 67}={col 69}{res}       167
{txt}Group variable: {res}cowcode{col 49}{txt}Number of groups{col 67}={col 69}{res}        19

{txt}{col 49}Obs per group:
{col 63}min{col 67}={col 69}{res}         2
{txt}{col 63}avg{col 67}={col 69}{res}       8.8
{txt}{col 63}max{col 67}={col 69}{res}        16

{txt}{col 49}Wald chi2({res}12{txt}){col 67}={col 70}{res}    37.62
{txt}Log likelihood  = {res}-371.99934{col 49}{txt}Prob > chi2{col 67}={res}{col 73}0.0002

{txt}{hline 24}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}      government_visits{col 25}{c |}      Coef.{col 37}   Std. Err.{col 49}      z{col 57}   P>|z|{col 65}     [95% Con{col 78}f. Interval]
{hline 24}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 6}government_visits {c |}
{space 20}L1. {c |}{col 25}{res}{space 2} .0002689{col 37}{space 2} .0091158{col 48}{space 1}    0.03{col 57}{space 3}0.976{col 65}{space 4}-.0175978{col 78}{space 3} .0181355
{txt}{space 23} {c |}
{space 14}protestL1 {c |}{col 25}{res}{space 2} .0101455{col 37}{space 2} .0048045{col 48}{space 1}    2.11{col 57}{space 3}0.035{col 65}{space 4} .0007288{col 78}{space 3} .0195621
{txt}{space 14}polity2L1 {c |}{col 25}{res}{space 2} .0071309{col 37}{space 2}  .014631{col 48}{space 1}    0.49{col 57}{space 3}0.626{col 65}{space 4}-.0215454{col 78}{space 3} .0358072
{txt}{space 23} {c |}
c.protestL1#c.polity2L1 {c |}{col 25}{res}{space 2}-.0014599{col 37}{space 2} .0006465{col 48}{space 1}   -2.26{col 57}{space 3}0.024{col 65}{space 4} -.002727{col 78}{space 3}-.0001927
{txt}{space 23} {c |}
{space 16}lngdppc {c |}{col 25}{res}{space 2}-.1519097{col 37}{space 2} .3111765{col 48}{space 1}   -0.49{col 57}{space 3}0.625{col 65}{space 4}-.7618043{col 78}{space 3}  .457985
{txt}{space 18}lngdp {c |}{col 25}{res}{space 2}-.3137116{col 37}{space 2} .2255378{col 48}{space 1}   -1.39{col 57}{space 3}0.164{col 65}{space 4}-.7557575{col 78}{space 3} .1283344
{txt}{space 7}NaturalResources {c |}{col 25}{res}{space 2} .0077393{col 37}{space 2} .0125837{col 48}{space 1}    0.62{col 57}{space 3}0.539{col 65}{space 4}-.0169243{col 78}{space 3} .0324029
{txt}{space 14}urban_pop {c |}{col 25}{res}{space 2} -.000496{col 37}{space 2} .0212751{col 48}{space 1}   -0.02{col 57}{space 3}0.981{col 65}{space 4}-.0421943{col 78}{space 3} .0412024
{txt}{space 12}electricity {c |}{col 25}{res}{space 2}-.0017843{col 37}{space 2} .0056354{col 48}{space 1}   -0.32{col 57}{space 3}0.752{col 65}{space 4}-.0128295{col 78}{space 3} .0092609
{txt}{space 13}FDI_inflow {c |}{col 25}{res}{space 2}-.0020918{col 37}{space 2} .0096659{col 48}{space 1}   -0.22{col 57}{space 3}0.829{col 65}{space 4}-.0210366{col 78}{space 3}  .016853
{txt}{space 10}tradeopenness {c |}{col 25}{res}{space 2} .0072351{col 37}{space 2} .0028585{col 48}{space 1}    2.53{col 57}{space 3}0.011{col 65}{space 4} .0016325{col 78}{space 3} .0128377
{txt}{space 14}yeartrend {c |}{col 25}{res}{space 2} .0305847{col 37}{space 2} .0237793{col 48}{space 1}    1.29{col 57}{space 3}0.198{col 65}{space 4}-.0160219{col 78}{space 3} .0771912
{txt}{space 18}_cons {c |}{col 25}{res}{space 2} 11.20359{col 37}{space 2} 4.782992{col 48}{space 1}    2.34{col 57}{space 3}0.019{col 65}{space 4} 1.829095{col 78}{space 3} 20.57808
{txt}{hline 24}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
({res}est3{txt} stored)

{com}. eststo: xtnbreg government_visits L1.government_visits  c.protestL1##c.polity2L1  lngdppc lngdp NaturalResources  urban_pop electricity ChinaTradeOpenness chinese_ofdi_inflow_gdp chineseworkers_capita   yeartrend , fe
{txt}note: 1 group (1 obs) dropped because of only one obs per group
{res}
{txt}Iteration 0:{space 3}log likelihood = {res: -309.4512}  
Iteration 1:{space 3}log likelihood = {res:-299.67656}  
Iteration 2:{space 3}log likelihood = {res:-298.44953}  
Iteration 3:{space 3}log likelihood = {res:-298.42307}  
Iteration 4:{space 3}log likelihood = {res:-298.42306}  
{res}
{txt}Conditional FE negative binomial regression{col 49}Number of obs{col 67}={col 69}{res}       137
{txt}Group variable: {res}cowcode{col 49}{txt}Number of groups{col 67}={col 69}{res}        17

{txt}{col 49}Obs per group:
{col 63}min{col 67}={col 69}{res}         2
{txt}{col 63}avg{col 67}={col 69}{res}       8.1
{txt}{col 63}max{col 67}={col 69}{res}        14

{txt}{col 49}Wald chi2({res}13{txt}){col 67}={col 70}{res}    19.84
{txt}Log likelihood  = {res}-298.42306{col 49}{txt}Prob > chi2{col 67}={res}{col 73}0.0992

{txt}{hline 24}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}      government_visits{col 25}{c |}      Coef.{col 37}   Std. Err.{col 49}      z{col 57}   P>|z|{col 65}     [95% Con{col 78}f. Interval]
{hline 24}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 6}government_visits {c |}
{space 20}L1. {c |}{col 25}{res}{space 2} .0081293{col 37}{space 2} .0095212{col 48}{space 1}    0.85{col 57}{space 3}0.393{col 65}{space 4}-.0105319{col 78}{space 3} .0267906
{txt}{space 23} {c |}
{space 14}protestL1 {c |}{col 25}{res}{space 2} .0097753{col 37}{space 2} .0058317{col 48}{space 1}    1.68{col 57}{space 3}0.094{col 65}{space 4}-.0016546{col 78}{space 3} .0212052
{txt}{space 14}polity2L1 {c |}{col 25}{res}{space 2} .0186396{col 37}{space 2} .0179991{col 48}{space 1}    1.04{col 57}{space 3}0.300{col 65}{space 4} -.016638{col 78}{space 3} .0539172
{txt}{space 23} {c |}
c.protestL1#c.polity2L1 {c |}{col 25}{res}{space 2}-.0014073{col 37}{space 2} .0007746{col 48}{space 1}   -1.82{col 57}{space 3}0.069{col 65}{space 4}-.0029254{col 78}{space 3} .0001109
{txt}{space 23} {c |}
{space 16}lngdppc {c |}{col 25}{res}{space 2} .0104743{col 37}{space 2}  .402903{col 48}{space 1}    0.03{col 57}{space 3}0.979{col 65}{space 4}-.7792011{col 78}{space 3} .8001496
{txt}{space 18}lngdp {c |}{col 25}{res}{space 2} -.419939{col 37}{space 2} .2731841{col 48}{space 1}   -1.54{col 57}{space 3}0.124{col 65}{space 4}  -.95537{col 78}{space 3} .1154921
{txt}{space 7}NaturalResources {c |}{col 25}{res}{space 2} .0210337{col 37}{space 2} .0180988{col 48}{space 1}    1.16{col 57}{space 3}0.245{col 65}{space 4}-.0144393{col 78}{space 3} .0565067
{txt}{space 14}urban_pop {c |}{col 25}{res}{space 2} .0150209{col 37}{space 2} .0280189{col 48}{space 1}    0.54{col 57}{space 3}0.592{col 65}{space 4}-.0398952{col 78}{space 3}  .069937
{txt}{space 12}electricity {c |}{col 25}{res}{space 2} .0005208{col 37}{space 2} .0084917{col 48}{space 1}    0.06{col 57}{space 3}0.951{col 65}{space 4}-.0161227{col 78}{space 3} .0171643
{txt}{space 5}ChinaTradeOpenness {c |}{col 25}{res}{space 2}-.0059265{col 37}{space 2} .0106168{col 48}{space 1}   -0.56{col 57}{space 3}0.577{col 65}{space 4} -.026735{col 78}{space 3} .0148821
{txt}chinese_ofdi_inflow_gdp {c |}{col 25}{res}{space 2}-.0676625{col 37}{space 2} .0647083{col 48}{space 1}   -1.05{col 57}{space 3}0.296{col 65}{space 4}-.1944885{col 78}{space 3} .0591635
{txt}{space 2}chineseworkers_capita {c |}{col 25}{res}{space 2}  .006313{col 37}{space 2} .0193251{col 48}{space 1}    0.33{col 57}{space 3}0.744{col 65}{space 4}-.0315635{col 78}{space 3} .0441895
{txt}{space 14}yeartrend {c |}{col 25}{res}{space 2}  .012929{col 37}{space 2} .0295988{col 48}{space 1}    0.44{col 57}{space 3}0.662{col 65}{space 4}-.0450836{col 78}{space 3} .0709415
{txt}{space 18}_cons {c |}{col 25}{res}{space 2} 12.83693{col 37}{space 2} 5.599333{col 48}{space 1}    2.29{col 57}{space 3}0.022{col 65}{space 4} 1.862435{col 78}{space 3} 23.81142
{txt}{hline 24}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
({res}est4{txt} stored)

{com}. eststo: xtnbreg government_visits L1.government_visits  c.protestL1##c.polity2L1  lngdppc lngdp NaturalResources  urban_pop electricity FDI_inflow tradeopenness chineseworkers_capita  bri_carryover   yeartrend , fe
{txt}note: 1 group (1 obs) dropped because of only one obs per group
{res}
{txt}Iteration 0:{space 3}log likelihood = {res:-378.99637}  
Iteration 1:{space 3}log likelihood = {res:-368.57794}  
Iteration 2:{space 3}log likelihood = {res:-367.34536}  
Iteration 3:{space 3}log likelihood = {res: -367.3101}  
Iteration 4:{space 3}log likelihood = {res:-367.30994}  
Iteration 5:{space 3}log likelihood = {res:-367.30994}  
{res}
{txt}Conditional FE negative binomial regression{col 49}Number of obs{col 67}={col 69}{res}       164
{txt}Group variable: {res}cowcode{col 49}{txt}Number of groups{col 67}={col 69}{res}        18

{txt}{col 49}Obs per group:
{col 63}min{col 67}={col 69}{res}         2
{txt}{col 63}avg{col 67}={col 69}{res}       9.1
{txt}{col 63}max{col 67}={col 69}{res}        16

{txt}{col 49}Wald chi2({res}14{txt}){col 67}={col 70}{res}    33.74
{txt}Log likelihood  = {res}-367.30994{col 49}{txt}Prob > chi2{col 67}={res}{col 73}0.0023

{txt}{hline 24}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}      government_visits{col 25}{c |}      Coef.{col 37}   Std. Err.{col 49}      z{col 57}   P>|z|{col 65}     [95% Con{col 78}f. Interval]
{hline 24}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 6}government_visits {c |}
{space 20}L1. {c |}{col 25}{res}{space 2} .0007436{col 37}{space 2} .0091499{col 48}{space 1}    0.08{col 57}{space 3}0.935{col 65}{space 4}-.0171898{col 78}{space 3}  .018677
{txt}{space 23} {c |}
{space 14}protestL1 {c |}{col 25}{res}{space 2}    .0101{col 37}{space 2} .0051863{col 48}{space 1}    1.95{col 57}{space 3}0.051{col 65}{space 4}-.0000651{col 78}{space 3}  .020265
{txt}{space 14}polity2L1 {c |}{col 25}{res}{space 2} .0083508{col 37}{space 2} .0145654{col 48}{space 1}    0.57{col 57}{space 3}0.566{col 65}{space 4}-.0201968{col 78}{space 3} .0368984
{txt}{space 23} {c |}
c.protestL1#c.polity2L1 {c |}{col 25}{res}{space 2}-.0014854{col 37}{space 2} .0007101{col 48}{space 1}   -2.09{col 57}{space 3}0.036{col 65}{space 4}-.0028772{col 78}{space 3}-.0000937
{txt}{space 23} {c |}
{space 16}lngdppc {c |}{col 25}{res}{space 2}-.1509269{col 37}{space 2} .3212633{col 48}{space 1}   -0.47{col 57}{space 3}0.639{col 65}{space 4}-.7805914{col 78}{space 3} .4787376
{txt}{space 18}lngdp {c |}{col 25}{res}{space 2}-.3658516{col 37}{space 2} .2432908{col 48}{space 1}   -1.50{col 57}{space 3}0.133{col 65}{space 4}-.8426929{col 78}{space 3} .1109897
{txt}{space 7}NaturalResources {c |}{col 25}{res}{space 2} .0013903{col 37}{space 2} .0158557{col 48}{space 1}    0.09{col 57}{space 3}0.930{col 65}{space 4}-.0296864{col 78}{space 3} .0324669
{txt}{space 14}urban_pop {c |}{col 25}{res}{space 2} -.000445{col 37}{space 2} .0219828{col 48}{space 1}   -0.02{col 57}{space 3}0.984{col 65}{space 4}-.0435306{col 78}{space 3} .0426406
{txt}{space 12}electricity {c |}{col 25}{res}{space 2}-.0032999{col 37}{space 2} .0058365{col 48}{space 1}   -0.57{col 57}{space 3}0.572{col 65}{space 4}-.0147392{col 78}{space 3} .0081395
{txt}{space 13}FDI_inflow {c |}{col 25}{res}{space 2} .0014257{col 37}{space 2} .0100532{col 48}{space 1}    0.14{col 57}{space 3}0.887{col 65}{space 4}-.0182782{col 78}{space 3} .0211296
{txt}{space 10}tradeopenness {c |}{col 25}{res}{space 2}  .007423{col 37}{space 2} .0029745{col 48}{space 1}    2.50{col 57}{space 3}0.013{col 65}{space 4} .0015932{col 78}{space 3} .0132529
{txt}{space 2}chineseworkers_capita {c |}{col 25}{res}{space 2}-.0101086{col 37}{space 2} .0161549{col 48}{space 1}   -0.63{col 57}{space 3}0.531{col 65}{space 4}-.0417716{col 78}{space 3} .0215544
{txt}{space 10}bri_carryover {c |}{col 25}{res}{space 2}-.0847863{col 37}{space 2} .1380101{col 48}{space 1}   -0.61{col 57}{space 3}0.539{col 65}{space 4}-.3552811{col 78}{space 3} .1857085
{txt}{space 14}yeartrend {c |}{col 25}{res}{space 2} .0425925{col 37}{space 2} .0300536{col 48}{space 1}    1.42{col 57}{space 3}0.156{col 65}{space 4}-.0163113{col 78}{space 3} .1014964
{txt}{space 18}_cons {c |}{col 25}{res}{space 2} 12.60556{col 37}{space 2} 5.332969{col 48}{space 1}    2.36{col 57}{space 3}0.018{col 65}{space 4} 2.153137{col 78}{space 3} 23.05799
{txt}{hline 24}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
({res}est5{txt} stored)

{com}. 
{txt}end of do-file

{com}. do "C:\Users\yujeo\AppData\Local\Temp\STD01000000.tmp"
{txt}
{com}. *Table A3 : Anti-China Protests and Polity on Chinese Aid (No Year-fixed effects) *
. eststo clear
{txt}
{com}. 
{txt}end of do-file

{com}. do "C:\Users\yujeo\AppData\Local\Temp\STD01000000.tmp"
{txt}
{com}. eststo: xtreg OFa_all_pop_ln L1.OFa_all_pop_ln  c.protestL1##c.polity2L1   yeartrend , fe
{res}
{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}       179
{txt}Group variable: {res}cowcode{txt}{col 49}Number of groups{col 67}={col 69}{res}        21

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.1136{col 63}{txt}min{col 67}={col 69}{res}         3
{txt}     between = {res}0.0382{col 63}{txt}avg{col 67}={col 69}{res}       8.5
{txt}     overall = {res}0.0181{col 63}{txt}max{col 67}={col 69}{res}        13

{txt}{col 49}F({res}5{txt},{res}153{txt}){col 67}={col 70}{res}     3.92
{txt}corr(u_i, Xb){col 16}= {res}-0.1790{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0022

{txt}{hline 24}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}         OFa_all_pop_ln{col 25}{c |}      Coef.{col 37}   Std. Err.{col 49}      t{col 57}   P>|t|{col 65}     [95% Con{col 78}f. Interval]
{hline 24}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}OFa_all_pop_ln {c |}
{space 20}L1. {c |}{col 25}{res}{space 2}-.0132024{col 37}{space 2} .0832981{col 48}{space 1}   -0.16{col 57}{space 3}0.874{col 65}{space 4}-.1777654{col 78}{space 3} .1513606
{txt}{space 23} {c |}
{space 14}protestL1 {c |}{col 25}{res}{space 2} -.001997{col 37}{space 2} .0018046{col 48}{space 1}   -1.11{col 57}{space 3}0.270{col 65}{space 4}-.0055622{col 78}{space 3} .0015683
{txt}{space 14}polity2L1 {c |}{col 25}{res}{space 2} .0446941{col 37}{space 2} .0357554{col 48}{space 1}    1.25{col 57}{space 3}0.213{col 65}{space 4}-.0259439{col 78}{space 3}  .115332
{txt}{space 23} {c |}
c.protestL1#c.polity2L1 {c |}{col 25}{res}{space 2}-.0000972{col 37}{space 2} .0002322{col 48}{space 1}   -0.42{col 57}{space 3}0.676{col 65}{space 4} -.000556{col 78}{space 3} .0003615
{txt}{space 23} {c |}
{space 14}yeartrend {c |}{col 25}{res}{space 2} .0939936{col 37}{space 2} .0274285{col 48}{space 1}    3.43{col 57}{space 3}0.001{col 65}{space 4} .0398062{col 78}{space 3}  .148181
{txt}{space 18}_cons {c |}{col 25}{res}{space 2} 1.148495{col 37}{space 2} .3108896{col 48}{space 1}    3.69{col 57}{space 3}0.000{col 65}{space 4} .5343049{col 78}{space 3} 1.762686
{txt}{hline 24}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
                sigma_u {c |} {res} 1.3810874
                {txt}sigma_e {c |} {res} 1.1001078
                    {txt}rho {c |} {res} .61180978{txt}   (fraction of variance due to u_i)
{hline 24}{c BT}{hline 64}
F test that all u_i=0: F({res}20{txt}, {res}153{txt}) = {res}3.94{col 62}{txt}Prob > F = {res}0.0000
{txt}({res}est1{txt} stored)

{com}. eststo: xtreg OFa_all_pop_ln L1.OFa_all_pop_ln   c.protestL1##c.polity2L1  lngdppc lngdp NaturalResources  urban_pop electricity   yeartrend  , fe
{res}
{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}       179
{txt}Group variable: {res}cowcode{txt}{col 49}Number of groups{col 67}={col 69}{res}        21

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.1347{col 63}{txt}min{col 67}={col 69}{res}         3
{txt}     between = {res}0.3584{col 63}{txt}avg{col 67}={col 69}{res}       8.5
{txt}     overall = {res}0.1913{col 63}{txt}max{col 67}={col 69}{res}        13

{txt}{col 49}F({res}10{txt},{res}148{txt}){col 67}={col 70}{res}     2.30
{txt}corr(u_i, Xb){col 16}= {res}-0.9935{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0152

{txt}{hline 24}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}         OFa_all_pop_ln{col 25}{c |}      Coef.{col 37}   Std. Err.{col 49}      t{col 57}   P>|t|{col 65}     [95% Con{col 78}f. Interval]
{hline 24}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}OFa_all_pop_ln {c |}
{space 20}L1. {c |}{col 25}{res}{space 2}-.0404632{col 37}{space 2} .0871604{col 48}{space 1}   -0.46{col 57}{space 3}0.643{col 65}{space 4}-.2127027{col 78}{space 3} .1317764
{txt}{space 23} {c |}
{space 14}protestL1 {c |}{col 25}{res}{space 2}-.0026391{col 37}{space 2} .0018766{col 48}{space 1}   -1.41{col 57}{space 3}0.162{col 65}{space 4}-.0063476{col 78}{space 3} .0010694
{txt}{space 14}polity2L1 {c |}{col 25}{res}{space 2} .0556981{col 37}{space 2} .0385298{col 48}{space 1}    1.45{col 57}{space 3}0.150{col 65}{space 4}-.0204415{col 78}{space 3} .1318377
{txt}{space 23} {c |}
c.protestL1#c.polity2L1 {c |}{col 25}{res}{space 2}-.0000691{col 37}{space 2} .0002523{col 48}{space 1}   -0.27{col 57}{space 3}0.784{col 65}{space 4}-.0005677{col 78}{space 3} .0004294
{txt}{space 23} {c |}
{space 16}lngdppc {c |}{col 25}{res}{space 2}-5.399311{col 37}{space 2} 5.189941{col 48}{space 1}   -1.04{col 57}{space 3}0.300{col 65}{space 4}-15.65527{col 78}{space 3} 4.856647
{txt}{space 18}lngdp {c |}{col 25}{res}{space 2} 5.324866{col 37}{space 2} 5.229256{col 48}{space 1}    1.02{col 57}{space 3}0.310{col 65}{space 4}-5.008785{col 78}{space 3} 15.65852
{txt}{space 7}NaturalResources {c |}{col 25}{res}{space 2}-.0040857{col 37}{space 2} .0285282{col 48}{space 1}   -0.14{col 57}{space 3}0.886{col 65}{space 4}-.0604608{col 78}{space 3} .0522894
{txt}{space 14}urban_pop {c |}{col 25}{res}{space 2}  .169453{col 37}{space 2} .0976393{col 48}{space 1}    1.74{col 57}{space 3}0.085{col 65}{space 4}-.0234943{col 78}{space 3} .3624003
{txt}{space 12}electricity {c |}{col 25}{res}{space 2}-.0047738{col 37}{space 2} .0132208{col 48}{space 1}   -0.36{col 57}{space 3}0.719{col 65}{space 4}-.0308998{col 78}{space 3} .0213521
{txt}{space 14}yeartrend {c |}{col 25}{res}{space 2}-.0144186{col 37}{space 2} .1035464{col 48}{space 1}   -0.14{col 57}{space 3}0.889{col 65}{space 4}-.2190389{col 78}{space 3} .1902018
{txt}{space 18}_cons {c |}{col 25}{res}{space 2}-95.61361{col 37}{space 2} 92.27348{col 48}{space 1}   -1.04{col 57}{space 3}0.302{col 65}{space 4}-277.9573{col 78}{space 3} 86.73008
{txt}{hline 24}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
                sigma_u {c |} {res} 9.9334295
                {txt}sigma_e {c |} {res} 1.1051661
                    {txt}rho {c |} {res} .98777317{txt}   (fraction of variance due to u_i)
{hline 24}{c BT}{hline 64}
F test that all u_i=0: F({res}20{txt}, {res}148{txt}) = {res}3.40{col 62}{txt}Prob > F = {res}0.0000
{txt}({res}est2{txt} stored)

{com}. eststo: xtreg OFa_all_pop_ln L1.OFa_all_pop_ln   c.protestL1##c.polity2L1  lngdppc lngdp NaturalResources  urban_pop electricity FDI_inflow tradeopenness  yeartrend  , fe
{res}
{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}       154
{txt}Group variable: {res}cowcode{txt}{col 49}Number of groups{col 67}={col 69}{res}        18

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.1956{col 63}{txt}min{col 67}={col 69}{res}         3
{txt}     between = {res}0.2731{col 63}{txt}avg{col 67}={col 69}{res}       8.6
{txt}     overall = {res}0.1074{col 63}{txt}max{col 67}={col 69}{res}        13

{txt}{col 49}F({res}12{txt},{res}124{txt}){col 67}={col 70}{res}     2.51
{txt}corr(u_i, Xb){col 16}= {res}-0.9679{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0054

{txt}{hline 24}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}         OFa_all_pop_ln{col 25}{c |}      Coef.{col 37}   Std. Err.{col 49}      t{col 57}   P>|t|{col 65}     [95% Con{col 78}f. Interval]
{hline 24}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}OFa_all_pop_ln {c |}
{space 20}L1. {c |}{col 25}{res}{space 2}-.0425271{col 37}{space 2} .0926977{col 48}{space 1}   -0.46{col 57}{space 3}0.647{col 65}{space 4}-.2260018{col 78}{space 3} .1409476
{txt}{space 23} {c |}
{space 14}protestL1 {c |}{col 25}{res}{space 2} .0265806{col 37}{space 2} .0125407{col 48}{space 1}    2.12{col 57}{space 3}0.036{col 65}{space 4}  .001759{col 78}{space 3} .0514023
{txt}{space 14}polity2L1 {c |}{col 25}{res}{space 2} .0813494{col 37}{space 2} .0422671{col 48}{space 1}    1.92{col 57}{space 3}0.057{col 65}{space 4} -.002309{col 78}{space 3} .1650079
{txt}{space 23} {c |}
c.protestL1#c.polity2L1 {c |}{col 25}{res}{space 2}-.0038299{col 37}{space 2} .0016385{col 48}{space 1}   -2.34{col 57}{space 3}0.021{col 65}{space 4}-.0070729{col 78}{space 3}-.0005869
{txt}{space 23} {c |}
{space 16}lngdppc {c |}{col 25}{res}{space 2} -1.03846{col 37}{space 2} 5.717228{col 48}{space 1}   -0.18{col 57}{space 3}0.856{col 65}{space 4}-12.35445{col 78}{space 3} 10.27754
{txt}{space 18}lngdp {c |}{col 25}{res}{space 2} 2.128369{col 37}{space 2}  5.59885{col 48}{space 1}    0.38{col 57}{space 3}0.704{col 65}{space 4}-8.953323{col 78}{space 3} 13.21006
{txt}{space 7}NaturalResources {c |}{col 25}{res}{space 2}-.0639788{col 37}{space 2} .0384556{col 48}{space 1}   -1.66{col 57}{space 3}0.099{col 65}{space 4}-.1400933{col 78}{space 3} .0121357
{txt}{space 14}urban_pop {c |}{col 25}{res}{space 2} .1456691{col 37}{space 2} .1028989{col 48}{space 1}    1.42{col 57}{space 3}0.159{col 65}{space 4}-.0579966{col 78}{space 3} .3493348
{txt}{space 12}electricity {c |}{col 25}{res}{space 2}-.0142782{col 37}{space 2} .0149542{col 48}{space 1}   -0.95{col 57}{space 3}0.342{col 65}{space 4}-.0438766{col 78}{space 3} .0153203
{txt}{space 13}FDI_inflow {c |}{col 25}{res}{space 2} .0117053{col 37}{space 2} .0210552{col 48}{space 1}    0.56{col 57}{space 3}0.579{col 65}{space 4}-.0299688{col 78}{space 3} .0533794
{txt}{space 10}tradeopenness {c |}{col 25}{res}{space 2} .0067495{col 37}{space 2} .0111797{col 48}{space 1}    0.60{col 57}{space 3}0.547{col 65}{space 4}-.0153784{col 78}{space 3} .0288773
{txt}{space 14}yeartrend {c |}{col 25}{res}{space 2}-.0509525{col 37}{space 2} .1063043{col 48}{space 1}   -0.48{col 57}{space 3}0.633{col 65}{space 4}-.2613584{col 78}{space 3} .1594535
{txt}{space 18}_cons {c |}{col 25}{res}{space 2}-47.04254{col 37}{space 2} 97.97056{col 48}{space 1}   -0.48{col 57}{space 3}0.632{col 65}{space 4}-240.9537{col 78}{space 3} 146.8686
{txt}{hline 24}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
                sigma_u {c |} {res}  5.313633
                {txt}sigma_e {c |} {res} 1.0915685
                    {txt}rho {c |} {res} .95950816{txt}   (fraction of variance due to u_i)
{hline 24}{c BT}{hline 64}
F test that all u_i=0: F({res}17{txt}, {res}124{txt}) = {res}3.95{col 62}{txt}Prob > F = {res}0.0000
{txt}({res}est3{txt} stored)

{com}. eststo: xtreg OFa_all_pop_ln L1.OFa_all_pop_ln   c.protestL1##c.polity2L1  lngdppc lngdp NaturalResources  urban_pop electricity ChinaTradeOpenness chinese_ofdi_inflow_gdp chineseworkers_capita yeartrend  , fe
{res}
{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}       136
{txt}Group variable: {res}cowcode{txt}{col 49}Number of groups{col 67}={col 69}{res}        18

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.2959{col 63}{txt}min{col 67}={col 69}{res}         1
{txt}     between = {res}0.2818{col 63}{txt}avg{col 67}={col 69}{res}       7.6
{txt}     overall = {res}0.2505{col 63}{txt}max{col 67}={col 69}{res}        13

{txt}{col 49}F({res}13{txt},{res}105{txt}){col 67}={col 70}{res}     3.39
{txt}corr(u_i, Xb){col 16}= {res}-0.9864{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0002

{txt}{hline 24}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}         OFa_all_pop_ln{col 25}{c |}      Coef.{col 37}   Std. Err.{col 49}      t{col 57}   P>|t|{col 65}     [95% Con{col 78}f. Interval]
{hline 24}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}OFa_all_pop_ln {c |}
{space 20}L1. {c |}{col 25}{res}{space 2}-.0982882{col 37}{space 2}  .092136{col 48}{space 1}   -1.07{col 57}{space 3}0.289{col 65}{space 4}-.2809769{col 78}{space 3} .0844004
{txt}{space 23} {c |}
{space 14}protestL1 {c |}{col 25}{res}{space 2} .0305386{col 37}{space 2} .0139573{col 48}{space 1}    2.19{col 57}{space 3}0.031{col 65}{space 4} .0028639{col 78}{space 3} .0582134
{txt}{space 14}polity2L1 {c |}{col 25}{res}{space 2}  .133847{col 37}{space 2} .0477561{col 48}{space 1}    2.80{col 57}{space 3}0.006{col 65}{space 4} .0391553{col 78}{space 3} .2285386
{txt}{space 23} {c |}
c.protestL1#c.polity2L1 {c |}{col 25}{res}{space 2}-.0042885{col 37}{space 2} .0017962{col 48}{space 1}   -2.39{col 57}{space 3}0.019{col 65}{space 4}  -.00785{col 78}{space 3} -.000727
{txt}{space 23} {c |}
{space 16}lngdppc {c |}{col 25}{res}{space 2} 6.068307{col 37}{space 2} 6.556671{col 48}{space 1}    0.93{col 57}{space 3}0.357{col 65}{space 4}-6.932361{col 78}{space 3} 19.06897
{txt}{space 18}lngdp {c |}{col 25}{res}{space 2}-4.846939{col 37}{space 2} 6.376715{col 48}{space 1}   -0.76{col 57}{space 3}0.449{col 65}{space 4}-17.49079{col 78}{space 3} 7.796908
{txt}{space 7}NaturalResources {c |}{col 25}{res}{space 2}-.1969382{col 37}{space 2} .0466449{col 48}{space 1}   -4.22{col 57}{space 3}0.000{col 65}{space 4}-.2894264{col 78}{space 3}-.1044499
{txt}{space 14}urban_pop {c |}{col 25}{res}{space 2} .0212254{col 37}{space 2}  .110526{col 48}{space 1}    0.19{col 57}{space 3}0.848{col 65}{space 4}-.1979272{col 78}{space 3}  .240378
{txt}{space 12}electricity {c |}{col 25}{res}{space 2}-.0181869{col 37}{space 2} .0198506{col 48}{space 1}   -0.92{col 57}{space 3}0.362{col 65}{space 4}-.0575471{col 78}{space 3} .0211732
{txt}{space 5}ChinaTradeOpenness {c |}{col 25}{res}{space 2}-.0015946{col 37}{space 2} .0336768{col 48}{space 1}   -0.05{col 57}{space 3}0.962{col 65}{space 4}-.0683695{col 78}{space 3} .0651802
{txt}chinese_ofdi_inflow_gdp {c |}{col 25}{res}{space 2} .4352931{col 37}{space 2} .1589788{col 48}{space 1}    2.74{col 57}{space 3}0.007{col 65}{space 4} .1200676{col 78}{space 3} .7505186
{txt}{space 2}chineseworkers_capita {c |}{col 25}{res}{space 2}-.0369006{col 37}{space 2} .0456097{col 48}{space 1}   -0.81{col 57}{space 3}0.420{col 65}{space 4}-.1273362{col 78}{space 3}  .053535
{txt}{space 14}yeartrend {c |}{col 25}{res}{space 2} .0334745{col 37}{space 2} .1093732{col 48}{space 1}    0.31{col 57}{space 3}0.760{col 65}{space 4}-.1833924{col 78}{space 3} .2503414
{txt}{space 18}_cons {c |}{col 25}{res}{space 2} 78.71013{col 37}{space 2} 111.1913{col 48}{space 1}    0.71{col 57}{space 3}0.481{col 65}{space 4}-141.7617{col 78}{space 3} 299.1819
{txt}{hline 24}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
                sigma_u {c |} {res}   7.93117
                {txt}sigma_e {c |} {res}  1.027074
                    {txt}rho {c |} {res} .98350675{txt}   (fraction of variance due to u_i)
{hline 24}{c BT}{hline 64}
F test that all u_i=0: F({res}17{txt}, {res}105{txt}) = {res}5.12{col 62}{txt}Prob > F = {res}0.0000
{txt}({res}est4{txt} stored)

{com}. eststo: xtreg OFa_all_pop_ln L1.OFa_all_pop_ln   c.protestL1##c.polity2L1  lngdppc lngdp NaturalResources  urban_pop electricity FDI_inflow tradeopenness chineseworkers_capita  bri_carryover  yeartrend  , fe
{res}
{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}       153
{txt}Group variable: {res}cowcode{txt}{col 49}Number of groups{col 67}={col 69}{res}        18

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.2197{col 63}{txt}min{col 67}={col 69}{res}         3
{txt}     between = {res}0.3029{col 63}{txt}avg{col 67}={col 69}{res}       8.5
{txt}     overall = {res}0.1293{col 63}{txt}max{col 67}={col 69}{res}        13

{txt}{col 49}F({res}14{txt},{res}121{txt}){col 67}={col 70}{res}     2.43
{txt}corr(u_i, Xb){col 16}= {res}-0.9817{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0048

{txt}{hline 24}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}         OFa_all_pop_ln{col 25}{c |}      Coef.{col 37}   Std. Err.{col 49}      t{col 57}   P>|t|{col 65}     [95% Con{col 78}f. Interval]
{hline 24}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}OFa_all_pop_ln {c |}
{space 20}L1. {c |}{col 25}{res}{space 2}-.0532668{col 37}{space 2} .0935357{col 48}{space 1}   -0.57{col 57}{space 3}0.570{col 65}{space 4}-.2384455{col 78}{space 3} .1319119
{txt}{space 23} {c |}
{space 14}protestL1 {c |}{col 25}{res}{space 2} .0246975{col 37}{space 2}  .012982{col 48}{space 1}    1.90{col 57}{space 3}0.059{col 65}{space 4}-.0010038{col 78}{space 3} .0503988
{txt}{space 14}polity2L1 {c |}{col 25}{res}{space 2} .0850675{col 37}{space 2} .0420269{col 48}{space 1}    2.02{col 57}{space 3}0.045{col 65}{space 4} .0018642{col 78}{space 3} .1682708
{txt}{space 23} {c |}
c.protestL1#c.polity2L1 {c |}{col 25}{res}{space 2}-.0035347{col 37}{space 2} .0017071{col 48}{space 1}   -2.07{col 57}{space 3}0.041{col 65}{space 4}-.0069143{col 78}{space 3}-.0001551
{txt}{space 23} {c |}
{space 16}lngdppc {c |}{col 25}{res}{space 2}-1.846764{col 37}{space 2} 5.862977{col 48}{space 1}   -0.31{col 57}{space 3}0.753{col 65}{space 4}-13.45407{col 78}{space 3} 9.760546
{txt}{space 18}lngdp {c |}{col 25}{res}{space 2} 3.189215{col 37}{space 2} 5.675694{col 48}{space 1}    0.56{col 57}{space 3}0.575{col 65}{space 4}-8.047318{col 78}{space 3} 14.42575
{txt}{space 7}NaturalResources {c |}{col 25}{res}{space 2}-.0758199{col 37}{space 2} .0400307{col 48}{space 1}   -1.89{col 57}{space 3}0.061{col 65}{space 4}-.1550713{col 78}{space 3} .0034316
{txt}{space 14}urban_pop {c |}{col 25}{res}{space 2} .1614087{col 37}{space 2} .1030025{col 48}{space 1}    1.57{col 57}{space 3}0.120{col 65}{space 4}-.0425119{col 78}{space 3} .3653293
{txt}{space 12}electricity {c |}{col 25}{res}{space 2}-.0090981{col 37}{space 2} .0150984{col 48}{space 1}   -0.60{col 57}{space 3}0.548{col 65}{space 4}-.0389893{col 78}{space 3} .0207932
{txt}{space 13}FDI_inflow {c |}{col 25}{res}{space 2}-.0045699{col 37}{space 2} .0222472{col 48}{space 1}   -0.21{col 57}{space 3}0.838{col 65}{space 4}-.0486141{col 78}{space 3} .0394742
{txt}{space 10}tradeopenness {c |}{col 25}{res}{space 2}  .006691{col 37}{space 2} .0114792{col 48}{space 1}    0.58{col 57}{space 3}0.561{col 65}{space 4}-.0160352{col 78}{space 3} .0294171
{txt}{space 2}chineseworkers_capita {c |}{col 25}{res}{space 2} .0858029{col 37}{space 2} .0403862{col 48}{space 1}    2.12{col 57}{space 3}0.036{col 65}{space 4} .0058477{col 78}{space 3} .1657581
{txt}{space 10}bri_carryover {c |}{col 25}{res}{space 2} .0824061{col 37}{space 2} .3734044{col 48}{space 1}    0.22{col 57}{space 3}0.826{col 65}{space 4}-.6568465{col 78}{space 3} .8216587
{txt}{space 14}yeartrend {c |}{col 25}{res}{space 2}-.1088765{col 37}{space 2} .1170422{col 48}{space 1}   -0.93{col 57}{space 3}0.354{col 65}{space 4}-.3405923{col 78}{space 3} .1228394
{txt}{space 18}_cons {c |}{col 25}{res}{space 2} -67.8868{col 37}{space 2} 99.00451{col 48}{space 1}   -0.69{col 57}{space 3}0.494{col 65}{space 4}-263.8923{col 78}{space 3} 128.1188
{txt}{hline 24}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
                sigma_u {c |} {res} 6.8074057
                {txt}sigma_e {c |} {res} 1.0837272
                    {txt}rho {c |} {res} .97528236{txt}   (fraction of variance due to u_i)
{hline 24}{c BT}{hline 64}
F test that all u_i=0: F({res}17{txt}, {res}121{txt}) = {res}4.05{col 62}{txt}Prob > F = {res}0.0000
{txt}({res}est5{txt} stored)

{com}. 
{txt}end of do-file

{com}. do "C:\Users\yujeo\AppData\Local\Temp\STD01000000.tmp"
{txt}
{com}. *Table A4: Anti-China Protests and Polity on Total Elite Visits (Visits by Government and Military Officials)*
. eststo clear
{txt}
{com}. 
{txt}end of do-file

{com}. do "C:\Users\yujeo\AppData\Local\Temp\STD01000000.tmp"
{txt}
{com}. eststo: xtnbreg total_elite_visits L1.total_elite_visits  c.protestL1##c.polity2L1 i.year , fe
{txt}note: 1 group (4 obs) dropped because of all zero outcomes
{res}
{txt}Iteration 0:{space 3}log likelihood = {res:-441.74054}  
Iteration 1:{space 3}log likelihood = {res:-433.01702}  
Iteration 2:{space 3}log likelihood = {res:-432.47503}  
Iteration 3:{space 3}log likelihood = {res:-432.47326}  
Iteration 4:{space 3}log likelihood = {res:-432.47326}  
{res}
{txt}Conditional FE negative binomial regression{col 49}Number of obs{col 67}={col 69}{res}       188
{txt}Group variable: {res}cowcode{col 49}{txt}Number of groups{col 67}={col 69}{res}        22

{txt}{col 49}Obs per group:
{col 63}min{col 67}={col 69}{res}         2
{txt}{col 63}avg{col 67}={col 69}{res}       8.5
{txt}{col 63}max{col 67}={col 69}{res}        16

{txt}{col 49}Wald chi2({res}20{txt}){col 67}={col 70}{res}    54.47
{txt}Log likelihood  = {res}-432.47326{col 49}{txt}Prob > chi2{col 67}={res}{col 73}0.0000

{txt}{hline 24}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}     total_elite_visits{col 25}{c |}      Coef.{col 37}   Std. Err.{col 49}      z{col 57}   P>|z|{col 65}     [95% Con{col 78}f. Interval]
{hline 24}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 5}total_elite_visits {c |}
{space 20}L1. {c |}{col 25}{res}{space 2} .0119458{col 37}{space 2} .0071748{col 48}{space 1}    1.66{col 57}{space 3}0.096{col 65}{space 4}-.0021166{col 78}{space 3} .0260081
{txt}{space 23} {c |}
{space 14}protestL1 {c |}{col 25}{res}{space 2} .0002643{col 37}{space 2} .0006455{col 48}{space 1}    0.41{col 57}{space 3}0.682{col 65}{space 4} -.001001{col 78}{space 3} .0015295
{txt}{space 14}polity2L1 {c |}{col 25}{res}{space 2} .0116406{col 37}{space 2} .0130745{col 48}{space 1}    0.89{col 57}{space 3}0.373{col 65}{space 4}-.0139851{col 78}{space 3} .0372662
{txt}{space 23} {c |}
c.protestL1#c.polity2L1 {c |}{col 25}{res}{space 2}-.0001887{col 37}{space 2} .0000782{col 48}{space 1}   -2.41{col 57}{space 3}0.016{col 65}{space 4}-.0003419{col 78}{space 3}-.0000355
{txt}{space 23} {c |}
{space 19}year {c |}
{space 18}2002  {c |}{col 25}{res}{space 2}-1.033321{col 37}{space 2} .2357267{col 48}{space 1}   -4.38{col 57}{space 3}0.000{col 65}{space 4}-1.495336{col 78}{space 3}-.5713048
{txt}{space 18}2003  {c |}{col 25}{res}{space 2}-.3530549{col 37}{space 2}  .217787{col 48}{space 1}   -1.62{col 57}{space 3}0.105{col 65}{space 4}-.7799095{col 78}{space 3} .0737997
{txt}{space 18}2004  {c |}{col 25}{res}{space 2}-.4491019{col 37}{space 2} .2092433{col 48}{space 1}   -2.15{col 57}{space 3}0.032{col 65}{space 4}-.8592112{col 78}{space 3}-.0389926
{txt}{space 18}2005  {c |}{col 25}{res}{space 2}-.3888018{col 37}{space 2} .2303662{col 48}{space 1}   -1.69{col 57}{space 3}0.091{col 65}{space 4}-.8403112{col 78}{space 3} .0627076
{txt}{space 18}2006  {c |}{col 25}{res}{space 2}-.1950085{col 37}{space 2} .2151563{col 48}{space 1}   -0.91{col 57}{space 3}0.365{col 65}{space 4}-.6167071{col 78}{space 3}   .22669
{txt}{space 18}2007  {c |}{col 25}{res}{space 2}-.4182709{col 37}{space 2} .1671687{col 48}{space 1}   -2.50{col 57}{space 3}0.012{col 65}{space 4}-.7459154{col 78}{space 3}-.0906263
{txt}{space 18}2008  {c |}{col 25}{res}{space 2}-.4292766{col 37}{space 2} .1792099{col 48}{space 1}   -2.40{col 57}{space 3}0.017{col 65}{space 4}-.7805215{col 78}{space 3}-.0780317
{txt}{space 18}2009  {c |}{col 25}{res}{space 2}-.3322622{col 37}{space 2}  .163963{col 48}{space 1}   -2.03{col 57}{space 3}0.043{col 65}{space 4}-.6536238{col 78}{space 3}-.0109005
{txt}{space 18}2010  {c |}{col 25}{res}{space 2}-.5162594{col 37}{space 2} .1589212{col 48}{space 1}   -3.25{col 57}{space 3}0.001{col 65}{space 4}-.8277392{col 78}{space 3}-.2047796
{txt}{space 18}2011  {c |}{col 25}{res}{space 2}-.6371234{col 37}{space 2} .1665946{col 48}{space 1}   -3.82{col 57}{space 3}0.000{col 65}{space 4}-.9636429{col 78}{space 3}-.3106039
{txt}{space 18}2012  {c |}{col 25}{res}{space 2}-.5673263{col 37}{space 2} .1665942{col 48}{space 1}   -3.41{col 57}{space 3}0.001{col 65}{space 4}-.8938449{col 78}{space 3}-.2408076
{txt}{space 18}2013  {c |}{col 25}{res}{space 2}-.5610726{col 37}{space 2} .1699837{col 48}{space 1}   -3.30{col 57}{space 3}0.001{col 65}{space 4}-.8942345{col 78}{space 3}-.2279108
{txt}{space 18}2014  {c |}{col 25}{res}{space 2}-.5084411{col 37}{space 2} .1705778{col 48}{space 1}   -2.98{col 57}{space 3}0.003{col 65}{space 4}-.8427675{col 78}{space 3}-.1741147
{txt}{space 18}2015  {c |}{col 25}{res}{space 2}-.6301071{col 37}{space 2} .1775336{col 48}{space 1}   -3.55{col 57}{space 3}0.000{col 65}{space 4}-.9780665{col 78}{space 3}-.2821477
{txt}{space 18}2016  {c |}{col 25}{res}{space 2}-.5223541{col 37}{space 2} .2001683{col 48}{space 1}   -2.61{col 57}{space 3}0.009{col 65}{space 4}-.9146769{col 78}{space 3}-.1300314
{txt}{space 18}2017  {c |}{col 25}{res}{space 2}-.7666105{col 37}{space 2} .2188736{col 48}{space 1}   -3.50{col 57}{space 3}0.000{col 65}{space 4}-1.195595{col 78}{space 3}-.3376261
{txt}{space 23} {c |}
{space 18}_cons {c |}{col 25}{res}{space 2} 3.404492{col 37}{space 2} .3825426{col 48}{space 1}    8.90{col 57}{space 3}0.000{col 65}{space 4} 2.654722{col 78}{space 3} 4.154261
{txt}{hline 24}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
({res}est1{txt} stored)

{com}. eststo: xtnbreg total_elite_visits L1.total_elite_visits  c.protestL1##c.polity2L1  lngdppc lngdp NaturalResources  urban_pop electricity i.year   , fe
{txt}note: 1 group (4 obs) dropped because of all zero outcomes
{res}
{txt}Iteration 0:{space 3}log likelihood = {res:-439.14334}  
Iteration 1:{space 3}log likelihood = {res:-426.04609}  
Iteration 2:{space 3}log likelihood = {res:-424.21237}  
Iteration 3:{space 3}log likelihood = {res:-424.14808}  
Iteration 4:{space 3}log likelihood = {res:-424.14778}  
Iteration 5:{space 3}log likelihood = {res:-424.14778}  
{res}
{txt}Conditional FE negative binomial regression{col 49}Number of obs{col 67}={col 69}{res}       188
{txt}Group variable: {res}cowcode{col 49}{txt}Number of groups{col 67}={col 69}{res}        22

{txt}{col 49}Obs per group:
{col 63}min{col 67}={col 69}{res}         2
{txt}{col 63}avg{col 67}={col 69}{res}       8.5
{txt}{col 63}max{col 67}={col 69}{res}        16

{txt}{col 49}Wald chi2({res}25{txt}){col 67}={col 70}{res}    70.40
{txt}Log likelihood  = {res}-424.14778{col 49}{txt}Prob > chi2{col 67}={res}{col 73}0.0000

{txt}{hline 24}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}     total_elite_visits{col 25}{c |}      Coef.{col 37}   Std. Err.{col 49}      z{col 57}   P>|z|{col 65}     [95% Con{col 78}f. Interval]
{hline 24}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 5}total_elite_visits {c |}
{space 20}L1. {c |}{col 25}{res}{space 2} .0091599{col 37}{space 2}  .007608{col 48}{space 1}    1.20{col 57}{space 3}0.229{col 65}{space 4}-.0057516{col 78}{space 3} .0240714
{txt}{space 23} {c |}
{space 14}protestL1 {c |}{col 25}{res}{space 2} .0003643{col 37}{space 2} .0006288{col 48}{space 1}    0.58{col 57}{space 3}0.562{col 65}{space 4} -.000868{col 78}{space 3} .0015966
{txt}{space 14}polity2L1 {c |}{col 25}{res}{space 2} .0082223{col 37}{space 2} .0131509{col 48}{space 1}    0.63{col 57}{space 3}0.532{col 65}{space 4} -.017553{col 78}{space 3} .0339977
{txt}{space 23} {c |}
c.protestL1#c.polity2L1 {c |}{col 25}{res}{space 2}-.0002698{col 37}{space 2} .0000799{col 48}{space 1}   -3.38{col 57}{space 3}0.001{col 65}{space 4}-.0004263{col 78}{space 3}-.0001133
{txt}{space 23} {c |}
{space 16}lngdppc {c |}{col 25}{res}{space 2}-.2609258{col 37}{space 2} .3100447{col 48}{space 1}   -0.84{col 57}{space 3}0.400{col 65}{space 4}-.8686022{col 78}{space 3} .3467507
{txt}{space 18}lngdp {c |}{col 25}{res}{space 2}-.3250841{col 37}{space 2} .2539276{col 48}{space 1}   -1.28{col 57}{space 3}0.200{col 65}{space 4}-.8227731{col 78}{space 3}  .172605
{txt}{space 7}NaturalResources {c |}{col 25}{res}{space 2} .0201169{col 37}{space 2} .0104192{col 48}{space 1}    1.93{col 57}{space 3}0.054{col 65}{space 4}-.0003045{col 78}{space 3} .0405382
{txt}{space 14}urban_pop {c |}{col 25}{res}{space 2}-.0181319{col 37}{space 2} .0192583{col 48}{space 1}   -0.94{col 57}{space 3}0.346{col 65}{space 4}-.0558775{col 78}{space 3} .0196137
{txt}{space 12}electricity {c |}{col 25}{res}{space 2} .0053629{col 37}{space 2}  .004779{col 48}{space 1}    1.12{col 57}{space 3}0.262{col 65}{space 4}-.0040038{col 78}{space 3} .0147296
{txt}{space 23} {c |}
{space 19}year {c |}
{space 18}2002  {c |}{col 25}{res}{space 2}-1.006023{col 37}{space 2} .2572269{col 48}{space 1}   -3.91{col 57}{space 3}0.000{col 65}{space 4}-1.510178{col 78}{space 3}-.5018674
{txt}{space 18}2003  {c |}{col 25}{res}{space 2}-.3107562{col 37}{space 2} .2355412{col 48}{space 1}   -1.32{col 57}{space 3}0.187{col 65}{space 4}-.7724086{col 78}{space 3} .1508961
{txt}{space 18}2004  {c |}{col 25}{res}{space 2}-.3667517{col 37}{space 2} .2501736{col 48}{space 1}   -1.47{col 57}{space 3}0.143{col 65}{space 4}-.8570829{col 78}{space 3} .1235795
{txt}{space 18}2005  {c |}{col 25}{res}{space 2}-.2323517{col 37}{space 2} .2562848{col 48}{space 1}   -0.91{col 57}{space 3}0.365{col 65}{space 4}-.7346606{col 78}{space 3} .2699572
{txt}{space 18}2006  {c |}{col 25}{res}{space 2} .0761035{col 37}{space 2} .2408855{col 48}{space 1}    0.32{col 57}{space 3}0.752{col 65}{space 4}-.3960234{col 78}{space 3} .5482305
{txt}{space 18}2007  {c |}{col 25}{res}{space 2}-.0245544{col 37}{space 2} .2434721{col 48}{space 1}   -0.10{col 57}{space 3}0.920{col 65}{space 4}-.5017509{col 78}{space 3} .4526422
{txt}{space 18}2008  {c |}{col 25}{res}{space 2} .0361253{col 37}{space 2} .2621748{col 48}{space 1}    0.14{col 57}{space 3}0.890{col 65}{space 4}-.4777278{col 78}{space 3} .5499785
{txt}{space 18}2009  {c |}{col 25}{res}{space 2} .1994338{col 37}{space 2} .2641291{col 48}{space 1}    0.76{col 57}{space 3}0.450{col 65}{space 4}-.3182496{col 78}{space 3} .7171172
{txt}{space 18}2010  {c |}{col 25}{res}{space 2} .1149851{col 37}{space 2}  .281497{col 48}{space 1}    0.41{col 57}{space 3}0.683{col 65}{space 4}-.4367389{col 78}{space 3} .6667091
{txt}{space 18}2011  {c |}{col 25}{res}{space 2} .0353254{col 37}{space 2} .3148105{col 48}{space 1}    0.11{col 57}{space 3}0.911{col 65}{space 4}-.5816919{col 78}{space 3} .6523427
{txt}{space 18}2012  {c |}{col 25}{res}{space 2} .1617553{col 37}{space 2} .3281519{col 48}{space 1}    0.49{col 57}{space 3}0.622{col 65}{space 4}-.4814106{col 78}{space 3} .8049213
{txt}{space 18}2013  {c |}{col 25}{res}{space 2} .2518799{col 37}{space 2}  .344562{col 48}{space 1}    0.73{col 57}{space 3}0.465{col 65}{space 4}-.4234492{col 78}{space 3}  .927209
{txt}{space 18}2014  {c |}{col 25}{res}{space 2} .3327748{col 37}{space 2} .3509577{col 48}{space 1}    0.95{col 57}{space 3}0.343{col 65}{space 4}-.3550897{col 78}{space 3} 1.020639
{txt}{space 18}2015  {c |}{col 25}{res}{space 2} .2202698{col 37}{space 2} .3566645{col 48}{space 1}    0.62{col 57}{space 3}0.537{col 65}{space 4}-.4787798{col 78}{space 3} .9193193
{txt}{space 18}2016  {c |}{col 25}{res}{space 2} .3039036{col 37}{space 2} .3827635{col 48}{space 1}    0.79{col 57}{space 3}0.427{col 65}{space 4}-.4462992{col 78}{space 3} 1.054106
{txt}{space 18}2017  {c |}{col 25}{res}{space 2} .1455235{col 37}{space 2} .3952571{col 48}{space 1}    0.37{col 57}{space 3}0.713{col 65}{space 4}-.6291661{col 78}{space 3} .9202132
{txt}{space 23} {c |}
{space 18}_cons {c |}{col 25}{res}{space 2} 13.49426{col 37}{space 2} 5.194337{col 48}{space 1}    2.60{col 57}{space 3}0.009{col 65}{space 4} 3.313542{col 78}{space 3} 23.67497
{txt}{hline 24}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
({res}est2{txt} stored)

{com}. eststo: xtnbreg total_elite_visits L1.total_elite_visits  c.protestL1##c.polity2L1  lngdppc lngdp NaturalResources  urban_pop electricity FDI_inflow tradeopenness  i.year   , fe
{txt}note: 1 group (4 obs) dropped because of all zero outcomes
{res}
{txt}Iteration 0:{space 3}log likelihood = {res:-386.80966}  
Iteration 1:{space 3}log likelihood = {res:-375.30721}  
Iteration 2:{space 3}log likelihood = {res:-373.32946}  
Iteration 3:{space 3}log likelihood = {res:-373.19207}  
Iteration 4:{space 3}log likelihood = {res:-373.19093}  
Iteration 5:{space 3}log likelihood = {res:-373.19093}  
{res}
{txt}Conditional FE negative binomial regression{col 49}Number of obs{col 67}={col 69}{res}       167
{txt}Group variable: {res}cowcode{col 49}{txt}Number of groups{col 67}={col 69}{res}        19

{txt}{col 49}Obs per group:
{col 63}min{col 67}={col 69}{res}         2
{txt}{col 63}avg{col 67}={col 69}{res}       8.8
{txt}{col 63}max{col 67}={col 69}{res}        16

{txt}{col 49}Wald chi2({res}27{txt}){col 67}={col 70}{res}    71.83
{txt}Log likelihood  = {res}-373.19093{col 49}{txt}Prob > chi2{col 67}={res}{col 73}0.0000

{txt}{hline 24}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}     total_elite_visits{col 25}{c |}      Coef.{col 37}   Std. Err.{col 49}      z{col 57}   P>|z|{col 65}     [95% Con{col 78}f. Interval]
{hline 24}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 5}total_elite_visits {c |}
{space 20}L1. {c |}{col 25}{res}{space 2} .0091469{col 37}{space 2} .0077981{col 48}{space 1}    1.17{col 57}{space 3}0.241{col 65}{space 4} -.006137{col 78}{space 3} .0244309
{txt}{space 23} {c |}
{space 14}protestL1 {c |}{col 25}{res}{space 2} .0075849{col 37}{space 2} .0045906{col 48}{space 1}    1.65{col 57}{space 3}0.098{col 65}{space 4}-.0014125{col 78}{space 3} .0165823
{txt}{space 14}polity2L1 {c |}{col 25}{res}{space 2}   .00924{col 37}{space 2} .0128559{col 48}{space 1}    0.72{col 57}{space 3}0.472{col 65}{space 4}-.0159571{col 78}{space 3} .0344371
{txt}{space 23} {c |}
c.protestL1#c.polity2L1 {c |}{col 25}{res}{space 2}-.0012083{col 37}{space 2} .0006048{col 48}{space 1}   -2.00{col 57}{space 3}0.046{col 65}{space 4}-.0023936{col 78}{space 3}-.0000229
{txt}{space 23} {c |}
{space 16}lngdppc {c |}{col 25}{res}{space 2}-.0661451{col 37}{space 2} .3878602{col 48}{space 1}   -0.17{col 57}{space 3}0.865{col 65}{space 4}-.8263371{col 78}{space 3} .6940468
{txt}{space 18}lngdp {c |}{col 25}{res}{space 2}-.3090917{col 37}{space 2} .3036812{col 48}{space 1}   -1.02{col 57}{space 3}0.309{col 65}{space 4} -.904296{col 78}{space 3} .2861126
{txt}{space 7}NaturalResources {c |}{col 25}{res}{space 2} .0160498{col 37}{space 2} .0129882{col 48}{space 1}    1.24{col 57}{space 3}0.217{col 65}{space 4}-.0094066{col 78}{space 3} .0415061
{txt}{space 14}urban_pop {c |}{col 25}{res}{space 2}-.0392705{col 37}{space 2} .0229576{col 48}{space 1}   -1.71{col 57}{space 3}0.087{col 65}{space 4}-.0842664{col 78}{space 3} .0057255
{txt}{space 12}electricity {c |}{col 25}{res}{space 2} -.000732{col 37}{space 2} .0053827{col 48}{space 1}   -0.14{col 57}{space 3}0.892{col 65}{space 4}-.0112819{col 78}{space 3} .0098179
{txt}{space 13}FDI_inflow {c |}{col 25}{res}{space 2}-.0066874{col 37}{space 2} .0097328{col 48}{space 1}   -0.69{col 57}{space 3}0.492{col 65}{space 4}-.0257633{col 78}{space 3} .0123884
{txt}{space 10}tradeopenness {c |}{col 25}{res}{space 2} .0071756{col 37}{space 2} .0030803{col 48}{space 1}    2.33{col 57}{space 3}0.020{col 65}{space 4} .0011383{col 78}{space 3} .0132129
{txt}{space 23} {c |}
{space 19}year {c |}
{space 18}2002  {c |}{col 25}{res}{space 2}-.9515702{col 37}{space 2} .2472197{col 48}{space 1}   -3.85{col 57}{space 3}0.000{col 65}{space 4}-1.436112{col 78}{space 3}-.4670285
{txt}{space 18}2003  {c |}{col 25}{res}{space 2}-.0662655{col 37}{space 2} .2666756{col 48}{space 1}   -0.25{col 57}{space 3}0.804{col 65}{space 4}  -.58894{col 78}{space 3} .4564091
{txt}{space 18}2004  {c |}{col 25}{res}{space 2}-.2780877{col 37}{space 2} .2637793{col 48}{space 1}   -1.05{col 57}{space 3}0.292{col 65}{space 4}-.7950857{col 78}{space 3} .2389103
{txt}{space 18}2005  {c |}{col 25}{res}{space 2}-.0974029{col 37}{space 2} .3306303{col 48}{space 1}   -0.29{col 57}{space 3}0.768{col 65}{space 4}-.7454264{col 78}{space 3} .5506207
{txt}{space 18}2006  {c |}{col 25}{res}{space 2}  .053203{col 37}{space 2} .2790185{col 48}{space 1}    0.19{col 57}{space 3}0.849{col 65}{space 4}-.4936632{col 78}{space 3} .6000691
{txt}{space 18}2007  {c |}{col 25}{res}{space 2}-.0211358{col 37}{space 2} .2598113{col 48}{space 1}   -0.08{col 57}{space 3}0.935{col 65}{space 4}-.5303567{col 78}{space 3}  .488085
{txt}{space 18}2008  {c |}{col 25}{res}{space 2} .0631674{col 37}{space 2} .2933022{col 48}{space 1}    0.22{col 57}{space 3}0.829{col 65}{space 4}-.5116943{col 78}{space 3} .6380292
{txt}{space 18}2009  {c |}{col 25}{res}{space 2} .3022394{col 37}{space 2} .2972018{col 48}{space 1}    1.02{col 57}{space 3}0.309{col 65}{space 4}-.2802655{col 78}{space 3} .8847443
{txt}{space 18}2010  {c |}{col 25}{res}{space 2} .1563209{col 37}{space 2} .3125396{col 48}{space 1}    0.50{col 57}{space 3}0.617{col 65}{space 4}-.4562454{col 78}{space 3} .7688872
{txt}{space 18}2011  {c |}{col 25}{res}{space 2} .0327672{col 37}{space 2} .3490787{col 48}{space 1}    0.09{col 57}{space 3}0.925{col 65}{space 4}-.6514144{col 78}{space 3} .7169489
{txt}{space 18}2012  {c |}{col 25}{res}{space 2} .2274618{col 37}{space 2} .3627733{col 48}{space 1}    0.63{col 57}{space 3}0.531{col 65}{space 4}-.4835607{col 78}{space 3} .9384843
{txt}{space 18}2013  {c |}{col 25}{res}{space 2} .3036276{col 37}{space 2} .3831552{col 48}{space 1}    0.79{col 57}{space 3}0.428{col 65}{space 4}-.4473428{col 78}{space 3} 1.054598
{txt}{space 18}2014  {c |}{col 25}{res}{space 2} .3160943{col 37}{space 2} .3858922{col 48}{space 1}    0.82{col 57}{space 3}0.413{col 65}{space 4}-.4402406{col 78}{space 3} 1.072429
{txt}{space 18}2015  {c |}{col 25}{res}{space 2} .3484068{col 37}{space 2} .4028501{col 48}{space 1}    0.86{col 57}{space 3}0.387{col 65}{space 4}-.4411649{col 78}{space 3} 1.137978
{txt}{space 18}2016  {c |}{col 25}{res}{space 2} .5073111{col 37}{space 2}   .42839{col 48}{space 1}    1.18{col 57}{space 3}0.236{col 65}{space 4}-.3323179{col 78}{space 3}  1.34694
{txt}{space 18}2017  {c |}{col 25}{res}{space 2}  .037393{col 37}{space 2} .4425811{col 48}{space 1}    0.08{col 57}{space 3}0.933{col 65}{space 4}  -.83005{col 78}{space 3}  .904836
{txt}{space 23} {c |}
{space 18}_cons {c |}{col 25}{res}{space 2} 12.70624{col 37}{space 2} 6.184396{col 48}{space 1}    2.05{col 57}{space 3}0.040{col 65}{space 4} .5850516{col 78}{space 3} 24.82744
{txt}{hline 24}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
({res}est3{txt} stored)

{com}. eststo: xtnbreg total_elite_visits L1.total_elite_visits  c.protestL1##c.polity2L1  lngdppc lngdp NaturalResources  urban_pop electricity ChinaTradeOpenness chinese_ofdi_inflow_gdp chineseworkers_capita i.year   , fe
{txt}note: 1 group (1 obs) dropped because of only one obs per group
{res}
{txt}Iteration 0:{space 3}log likelihood = {res:-319.00676}  
Iteration 1:{space 3}log likelihood = {res:-309.25965}  
Iteration 2:{space 3}log likelihood = {res:-307.40076}  
Iteration 3:{space 3}log likelihood = {res:-307.36182}  
Iteration 4:{space 3}log likelihood = {res: -307.3618}  
{res}
{txt}Conditional FE negative binomial regression{col 49}Number of obs{col 67}={col 69}{res}       137
{txt}Group variable: {res}cowcode{col 49}{txt}Number of groups{col 67}={col 69}{res}        17

{txt}{col 49}Obs per group:
{col 63}min{col 67}={col 69}{res}         2
{txt}{col 63}avg{col 67}={col 69}{res}       8.1
{txt}{col 63}max{col 67}={col 69}{res}        14

{txt}{col 49}Wald chi2({res}26{txt}){col 67}={col 70}{res}    32.22
{txt}Log likelihood  = {res} -307.3618{col 49}{txt}Prob > chi2{col 67}={res}{col 73}0.1858

{txt}{hline 24}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}     total_elite_visits{col 25}{c |}      Coef.{col 37}   Std. Err.{col 49}      z{col 57}   P>|z|{col 65}     [95% Con{col 78}f. Interval]
{hline 24}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 5}total_elite_visits {c |}
{space 20}L1. {c |}{col 25}{res}{space 2} .0083828{col 37}{space 2} .0085645{col 48}{space 1}    0.98{col 57}{space 3}0.328{col 65}{space 4}-.0084033{col 78}{space 3}  .025169
{txt}{space 23} {c |}
{space 14}protestL1 {c |}{col 25}{res}{space 2} .0076471{col 37}{space 2} .0058424{col 48}{space 1}    1.31{col 57}{space 3}0.191{col 65}{space 4}-.0038037{col 78}{space 3}  .019098
{txt}{space 14}polity2L1 {c |}{col 25}{res}{space 2}  .006465{col 37}{space 2} .0169266{col 48}{space 1}    0.38{col 57}{space 3}0.703{col 65}{space 4}-.0267105{col 78}{space 3} .0396405
{txt}{space 23} {c |}
c.protestL1#c.polity2L1 {c |}{col 25}{res}{space 2}-.0012388{col 37}{space 2} .0007764{col 48}{space 1}   -1.60{col 57}{space 3}0.111{col 65}{space 4}-.0027606{col 78}{space 3} .0002829
{txt}{space 23} {c |}
{space 16}lngdppc {c |}{col 25}{res}{space 2} .0285862{col 37}{space 2} .4478525{col 48}{space 1}    0.06{col 57}{space 3}0.949{col 65}{space 4}-.8491886{col 78}{space 3} .9063609
{txt}{space 18}lngdp {c |}{col 25}{res}{space 2}-.4231037{col 37}{space 2} .2868685{col 48}{space 1}   -1.47{col 57}{space 3}0.140{col 65}{space 4}-.9853557{col 78}{space 3} .1391483
{txt}{space 7}NaturalResources {c |}{col 25}{res}{space 2} .0393411{col 37}{space 2} .0186093{col 48}{space 1}    2.11{col 57}{space 3}0.035{col 65}{space 4} .0028676{col 78}{space 3} .0758146
{txt}{space 14}urban_pop {c |}{col 25}{res}{space 2}-.0224423{col 37}{space 2} .0260572{col 48}{space 1}   -0.86{col 57}{space 3}0.389{col 65}{space 4}-.0735135{col 78}{space 3} .0286288
{txt}{space 12}electricity {c |}{col 25}{res}{space 2}-.0015211{col 37}{space 2} .0094415{col 48}{space 1}   -0.16{col 57}{space 3}0.872{col 65}{space 4} -.020026{col 78}{space 3} .0169839
{txt}{space 5}ChinaTradeOpenness {c |}{col 25}{res}{space 2}-.0162453{col 37}{space 2} .0134984{col 48}{space 1}   -1.20{col 57}{space 3}0.229{col 65}{space 4}-.0427017{col 78}{space 3} .0102111
{txt}chinese_ofdi_inflow_gdp {c |}{col 25}{res}{space 2}-.0826362{col 37}{space 2} .0668597{col 48}{space 1}   -1.24{col 57}{space 3}0.216{col 65}{space 4}-.2136788{col 78}{space 3} .0484064
{txt}{space 2}chineseworkers_capita {c |}{col 25}{res}{space 2} .0083579{col 37}{space 2} .0193395{col 48}{space 1}    0.43{col 57}{space 3}0.666{col 65}{space 4}-.0295467{col 78}{space 3} .0462626
{txt}{space 23} {c |}
{space 19}year {c |}
{space 18}2004  {c |}{col 25}{res}{space 2}-.0252336{col 37}{space 2} .2680345{col 48}{space 1}   -0.09{col 57}{space 3}0.925{col 65}{space 4}-.5505715{col 78}{space 3} .5001043
{txt}{space 18}2005  {c |}{col 25}{res}{space 2} .0737112{col 37}{space 2} .3291113{col 48}{space 1}    0.22{col 57}{space 3}0.823{col 65}{space 4}-.5713351{col 78}{space 3} .7187575
{txt}{space 18}2006  {c |}{col 25}{res}{space 2} .4521753{col 37}{space 2}  .343803{col 48}{space 1}    1.32{col 57}{space 3}0.188{col 65}{space 4}-.2216662{col 78}{space 3} 1.126017
{txt}{space 18}2007  {c |}{col 25}{res}{space 2} .2164398{col 37}{space 2}  .295452{col 48}{space 1}    0.73{col 57}{space 3}0.464{col 65}{space 4}-.3626354{col 78}{space 3}  .795515
{txt}{space 18}2008  {c |}{col 25}{res}{space 2} .3487563{col 37}{space 2} .3351397{col 48}{space 1}    1.04{col 57}{space 3}0.298{col 65}{space 4}-.3081054{col 78}{space 3} 1.005618
{txt}{space 18}2009  {c |}{col 25}{res}{space 2} .5415671{col 37}{space 2} .3201078{col 48}{space 1}    1.69{col 57}{space 3}0.091{col 65}{space 4}-.0858327{col 78}{space 3} 1.168967
{txt}{space 18}2010  {c |}{col 25}{res}{space 2} .3293693{col 37}{space 2} .3468289{col 48}{space 1}    0.95{col 57}{space 3}0.342{col 65}{space 4}-.3504028{col 78}{space 3} 1.009141
{txt}{space 18}2011  {c |}{col 25}{res}{space 2} .2907913{col 37}{space 2} .3851591{col 48}{space 1}    0.75{col 57}{space 3}0.450{col 65}{space 4}-.4641067{col 78}{space 3} 1.045689
{txt}{space 18}2012  {c |}{col 25}{res}{space 2} .4705305{col 37}{space 2} .4018196{col 48}{space 1}    1.17{col 57}{space 3}0.242{col 65}{space 4}-.3170215{col 78}{space 3} 1.258082
{txt}{space 18}2013  {c |}{col 25}{res}{space 2} .5731367{col 37}{space 2} .4312714{col 48}{space 1}    1.33{col 57}{space 3}0.184{col 65}{space 4}-.2721398{col 78}{space 3} 1.418413
{txt}{space 18}2014  {c |}{col 25}{res}{space 2} .6123669{col 37}{space 2} .4245416{col 48}{space 1}    1.44{col 57}{space 3}0.149{col 65}{space 4}-.2197195{col 78}{space 3} 1.444453
{txt}{space 18}2015  {c |}{col 25}{res}{space 2} .5762112{col 37}{space 2} .4353956{col 48}{space 1}    1.32{col 57}{space 3}0.186{col 65}{space 4}-.2771484{col 78}{space 3} 1.429571
{txt}{space 18}2016  {c |}{col 25}{res}{space 2} .6722305{col 37}{space 2} .4499846{col 48}{space 1}    1.49{col 57}{space 3}0.135{col 65}{space 4}-.2097232{col 78}{space 3} 1.554184
{txt}{space 18}2017  {c |}{col 25}{res}{space 2} .2210689{col 37}{space 2} .4824974{col 48}{space 1}    0.46{col 57}{space 3}0.647{col 65}{space 4}-.7246087{col 78}{space 3} 1.166746
{txt}{space 23} {c |}
{space 18}_cons {c |}{col 25}{res}{space 2} 14.45906{col 37}{space 2} 6.152737{col 48}{space 1}    2.35{col 57}{space 3}0.019{col 65}{space 4} 2.399922{col 78}{space 3} 26.51821
{txt}{hline 24}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
({res}est4{txt} stored)

{com}. eststo: xtnbreg total_elite_visits L1.total_elite_visits  c.protestL1##c.polity2L1  lngdppc lngdp NaturalResources  urban_pop electricity FDI_inflow tradeopenness chineseworkers_capita  bri_carryover  i.year   , fe
{txt}note: 1 group (1 obs) dropped because of only one obs per group
{res}
{txt}Iteration 0:{space 3}log likelihood = {res:-381.42289}  
Iteration 1:{space 3}log likelihood = {res:-370.21988}  
Iteration 2:{space 3}log likelihood = {res:-368.39957}  
Iteration 3:{space 3}log likelihood = {res:-368.26082}  
Iteration 4:{space 3}log likelihood = {res:-368.25931}  
Iteration 5:{space 3}log likelihood = {res:-368.25931}  
{res}
{txt}Conditional FE negative binomial regression{col 49}Number of obs{col 67}={col 69}{res}       164
{txt}Group variable: {res}cowcode{col 49}{txt}Number of groups{col 67}={col 69}{res}        18

{txt}{col 49}Obs per group:
{col 63}min{col 67}={col 69}{res}         2
{txt}{col 63}avg{col 67}={col 69}{res}       9.1
{txt}{col 63}max{col 67}={col 69}{res}        16

{txt}{col 49}Wald chi2({res}29{txt}){col 67}={col 70}{res}    69.47
{txt}Log likelihood  = {res}-368.25931{col 49}{txt}Prob > chi2{col 67}={res}{col 73}0.0000

{txt}{hline 24}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}     total_elite_visits{col 25}{c |}      Coef.{col 37}   Std. Err.{col 49}      z{col 57}   P>|z|{col 65}     [95% Con{col 78}f. Interval]
{hline 24}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 5}total_elite_visits {c |}
{space 20}L1. {c |}{col 25}{res}{space 2} .0096663{col 37}{space 2} .0077835{col 48}{space 1}    1.24{col 57}{space 3}0.214{col 65}{space 4}-.0055891{col 78}{space 3} .0249218
{txt}{space 23} {c |}
{space 14}protestL1 {c |}{col 25}{res}{space 2} .0064257{col 37}{space 2} .0048875{col 48}{space 1}    1.31{col 57}{space 3}0.189{col 65}{space 4}-.0031535{col 78}{space 3}  .016005
{txt}{space 14}polity2L1 {c |}{col 25}{res}{space 2} .0105463{col 37}{space 2} .0128957{col 48}{space 1}    0.82{col 57}{space 3}0.413{col 65}{space 4}-.0147289{col 78}{space 3} .0358215
{txt}{space 23} {c |}
c.protestL1#c.polity2L1 {c |}{col 25}{res}{space 2}-.0010502{col 37}{space 2} .0006515{col 48}{space 1}   -1.61{col 57}{space 3}0.107{col 65}{space 4}-.0023272{col 78}{space 3} .0002267
{txt}{space 23} {c |}
{space 16}lngdppc {c |}{col 25}{res}{space 2}-.0555345{col 37}{space 2} .3876665{col 48}{space 1}   -0.14{col 57}{space 3}0.886{col 65}{space 4}-.8153468{col 78}{space 3} .7042777
{txt}{space 18}lngdp {c |}{col 25}{res}{space 2}-.3248245{col 37}{space 2} .3064106{col 48}{space 1}   -1.06{col 57}{space 3}0.289{col 65}{space 4}-.9253782{col 78}{space 3} .2757292
{txt}{space 7}NaturalResources {c |}{col 25}{res}{space 2} .0120404{col 37}{space 2} .0157867{col 48}{space 1}    0.76{col 57}{space 3}0.446{col 65}{space 4} -.018901{col 78}{space 3} .0429819
{txt}{space 14}urban_pop {c |}{col 25}{res}{space 2}-.0361156{col 37}{space 2} .0228427{col 48}{space 1}   -1.58{col 57}{space 3}0.114{col 65}{space 4}-.0808866{col 78}{space 3} .0086553
{txt}{space 12}electricity {c |}{col 25}{res}{space 2}-.0008299{col 37}{space 2} .0056861{col 48}{space 1}   -0.15{col 57}{space 3}0.884{col 65}{space 4}-.0119744{col 78}{space 3} .0103147
{txt}{space 13}FDI_inflow {c |}{col 25}{res}{space 2}-.0049994{col 37}{space 2} .0101218{col 48}{space 1}   -0.49{col 57}{space 3}0.621{col 65}{space 4}-.0248378{col 78}{space 3} .0148391
{txt}{space 10}tradeopenness {c |}{col 25}{res}{space 2} .0066833{col 37}{space 2}  .003181{col 48}{space 1}    2.10{col 57}{space 3}0.036{col 65}{space 4} .0004487{col 78}{space 3} .0129179
{txt}{space 2}chineseworkers_capita {c |}{col 25}{res}{space 2}-.0063244{col 37}{space 2} .0155792{col 48}{space 1}   -0.41{col 57}{space 3}0.685{col 65}{space 4}-.0368591{col 78}{space 3} .0242102
{txt}{space 10}bri_carryover {c |}{col 25}{res}{space 2}-.0155458{col 37}{space 2}  .138595{col 48}{space 1}   -0.11{col 57}{space 3}0.911{col 65}{space 4} -.287187{col 78}{space 3} .2560954
{txt}{space 23} {c |}
{space 19}year {c |}
{space 18}2002  {c |}{col 25}{res}{space 2}-.9511718{col 37}{space 2} .2475552{col 48}{space 1}   -3.84{col 57}{space 3}0.000{col 65}{space 4}-1.436371{col 78}{space 3}-.4659724
{txt}{space 18}2003  {c |}{col 25}{res}{space 2}-.0664089{col 37}{space 2} .2705505{col 48}{space 1}   -0.25{col 57}{space 3}0.806{col 65}{space 4}-.5966782{col 78}{space 3} .4638604
{txt}{space 18}2004  {c |}{col 25}{res}{space 2}-.2686092{col 37}{space 2}  .267378{col 48}{space 1}   -1.00{col 57}{space 3}0.315{col 65}{space 4}-.7926604{col 78}{space 3} .2554421
{txt}{space 18}2005  {c |}{col 25}{res}{space 2}-.0877055{col 37}{space 2} .3356909{col 48}{space 1}   -0.26{col 57}{space 3}0.794{col 65}{space 4}-.7456476{col 78}{space 3} .5702367
{txt}{space 18}2006  {c |}{col 25}{res}{space 2} .0403227{col 37}{space 2} .2857569{col 48}{space 1}    0.14{col 57}{space 3}0.888{col 65}{space 4}-.5197506{col 78}{space 3} .6003959
{txt}{space 18}2007  {c |}{col 25}{res}{space 2}-.0160729{col 37}{space 2} .2698517{col 48}{space 1}   -0.06{col 57}{space 3}0.953{col 65}{space 4}-.5449724{col 78}{space 3} .5128267
{txt}{space 18}2008  {c |}{col 25}{res}{space 2} .0625218{col 37}{space 2} .3049651{col 48}{space 1}    0.21{col 57}{space 3}0.838{col 65}{space 4}-.5351988{col 78}{space 3} .6602423
{txt}{space 18}2009  {c |}{col 25}{res}{space 2} .2921706{col 37}{space 2}  .310979{col 48}{space 1}    0.94{col 57}{space 3}0.347{col 65}{space 4} -.317337{col 78}{space 3} .9016781
{txt}{space 18}2010  {c |}{col 25}{res}{space 2} .1520491{col 37}{space 2} .3276707{col 48}{space 1}    0.46{col 57}{space 3}0.643{col 65}{space 4}-.4901737{col 78}{space 3} .7942718
{txt}{space 18}2011  {c |}{col 25}{res}{space 2} .0447739{col 37}{space 2} .3670736{col 48}{space 1}    0.12{col 57}{space 3}0.903{col 65}{space 4}-.6746771{col 78}{space 3} .7642249
{txt}{space 18}2012  {c |}{col 25}{res}{space 2} .2126039{col 37}{space 2} .3854831{col 48}{space 1}    0.55{col 57}{space 3}0.581{col 65}{space 4}-.5429291{col 78}{space 3} .9681369
{txt}{space 18}2013  {c |}{col 25}{res}{space 2} .3007142{col 37}{space 2} .4212329{col 48}{space 1}    0.71{col 57}{space 3}0.475{col 65}{space 4}-.5248871{col 78}{space 3} 1.126315
{txt}{space 18}2014  {c |}{col 25}{res}{space 2} .3132699{col 37}{space 2} .4286348{col 48}{space 1}    0.73{col 57}{space 3}0.465{col 65}{space 4}-.5268388{col 78}{space 3} 1.153379
{txt}{space 18}2015  {c |}{col 25}{res}{space 2} .3474499{col 37}{space 2} .4500297{col 48}{space 1}    0.77{col 57}{space 3}0.440{col 65}{space 4} -.534592{col 78}{space 3} 1.229492
{txt}{space 18}2016  {c |}{col 25}{res}{space 2} .5299843{col 37}{space 2} .4750681{col 48}{space 1}    1.12{col 57}{space 3}0.265{col 65}{space 4}-.4011321{col 78}{space 3} 1.461101
{txt}{space 18}2017  {c |}{col 25}{res}{space 2}-.0303039{col 37}{space 2} .5278189{col 48}{space 1}   -0.06{col 57}{space 3}0.954{col 65}{space 4} -1.06481{col 78}{space 3} 1.004202
{txt}{space 23} {c |}
{space 18}_cons {c |}{col 25}{res}{space 2} 12.98512{col 37}{space 2} 6.312393{col 48}{space 1}    2.06{col 57}{space 3}0.040{col 65}{space 4} .6130529{col 78}{space 3} 25.35718
{txt}{hline 24}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
({res}est5{txt} stored)

{com}. 
{txt}end of do-file

{com}. do "C:\Users\yujeo\AppData\Local\Temp\STD01000000.tmp"
{txt}
{com}. *Table A5. Anti-China Protests and Polity on Government Elite Visits (with Interactions)
. 
. eststo clear
{txt}
{com}. 
{txt}end of do-file

{com}. do "C:\Users\yujeo\AppData\Local\Temp\STD01000000.tmp"
{txt}
{com}. eststo: xtnbreg government_visits L1.government_visits   c.protestL1##c.polity2L1  c.protestL1##c.lngdppc lngdp NaturalResources  urban_pop electricity FDI_inflow tradeopenness  i.year , fe
{txt}note: 1 group (4 obs) dropped because of all zero outcomes
note: protestL1 omitted because of collinearity
{res}
{txt}Iteration 0:{space 3}log likelihood = {res:-371.92067}  
Iteration 1:{space 3}log likelihood = {res:-360.15722}  
Iteration 2:{space 3}log likelihood = {res:-358.40354}  
Iteration 3:{space 3}log likelihood = {res:-358.19983}  
Iteration 4:{space 3}log likelihood = {res:-358.19655}  
Iteration 5:{space 3}log likelihood = {res:-358.19655}  
{res}
{txt}Conditional FE negative binomial regression{col 49}Number of obs{col 67}={col 69}{res}       167
{txt}Group variable: {res}cowcode{col 49}{txt}Number of groups{col 67}={col 69}{res}        19

{txt}{col 49}Obs per group:
{col 63}min{col 67}={col 69}{res}         2
{txt}{col 63}avg{col 67}={col 69}{res}       8.8
{txt}{col 63}max{col 67}={col 69}{res}        16

{txt}{col 49}Wald chi2({res}28{txt}){col 67}={col 70}{res}    76.52
{txt}Log likelihood  = {res}-358.19655{col 49}{txt}Prob > chi2{col 67}={res}{col 73}0.0000

{txt}{hline 24}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}      government_visits{col 25}{c |}      Coef.{col 37}   Std. Err.{col 49}      z{col 57}   P>|z|{col 65}     [95% Con{col 78}f. Interval]
{hline 24}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 6}government_visits {c |}
{space 20}L1. {c |}{col 25}{res}{space 2}  .008608{col 37}{space 2} .0086302{col 48}{space 1}    1.00{col 57}{space 3}0.319{col 65}{space 4}-.0083068{col 78}{space 3} .0255229
{txt}{space 23} {c |}
{space 14}protestL1 {c |}{col 25}{res}{space 2} .0122519{col 37}{space 2} .0086207{col 48}{space 1}    1.42{col 57}{space 3}0.155{col 65}{space 4}-.0046443{col 78}{space 3} .0291481
{txt}{space 14}polity2L1 {c |}{col 25}{res}{space 2} .0097176{col 37}{space 2} .0141724{col 48}{space 1}    0.69{col 57}{space 3}0.493{col 65}{space 4}-.0180598{col 78}{space 3} .0374949
{txt}{space 23} {c |}
c.protestL1#c.polity2L1 {c |}{col 25}{res}{space 2}-.0013661{col 37}{space 2} .0007037{col 48}{space 1}   -1.94{col 57}{space 3}0.052{col 65}{space 4}-.0027452{col 78}{space 3} .0000131
{txt}{space 23} {c |}
{space 14}protestL1 {c |}{col 25}{res}{space 2}        0{col 37}{txt}  (omitted)
{space 16}lngdppc {c |}{col 25}{res}{space 2}-.1559855{col 37}{space 2} .4242207{col 48}{space 1}   -0.37{col 57}{space 3}0.713{col 65}{space 4}-.9874427{col 78}{space 3} .6754718
{txt}{space 23} {c |}
{space 2}c.protestL1#c.lngdppc {c |}{col 25}{res}{space 2}-.0004141{col 37}{space 2}  .001397{col 48}{space 1}   -0.30{col 57}{space 3}0.767{col 65}{space 4}-.0031521{col 78}{space 3} .0023239
{txt}{space 23} {c |}
{space 18}lngdp {c |}{col 25}{res}{space 2}-.3103773{col 37}{space 2} .3388262{col 48}{space 1}   -0.92{col 57}{space 3}0.360{col 65}{space 4}-.9744645{col 78}{space 3} .3537098
{txt}{space 7}NaturalResources {c |}{col 25}{res}{space 2} .0067465{col 37}{space 2} .0137875{col 48}{space 1}    0.49{col 57}{space 3}0.625{col 65}{space 4}-.0202766{col 78}{space 3} .0337696
{txt}{space 14}urban_pop {c |}{col 25}{res}{space 2}-.0336983{col 37}{space 2} .0262542{col 48}{space 1}   -1.28{col 57}{space 3}0.199{col 65}{space 4}-.0851555{col 78}{space 3} .0177589
{txt}{space 12}electricity {c |}{col 25}{res}{space 2}-.0002792{col 37}{space 2} .0056758{col 48}{space 1}   -0.05{col 57}{space 3}0.961{col 65}{space 4}-.0114037{col 78}{space 3} .0108452
{txt}{space 13}FDI_inflow {c |}{col 25}{res}{space 2} -.000042{col 37}{space 2} .0100188{col 48}{space 1}   -0.00{col 57}{space 3}0.997{col 65}{space 4}-.0196786{col 78}{space 3} .0195946
{txt}{space 10}tradeopenness {c |}{col 25}{res}{space 2} .0070714{col 37}{space 2} .0032749{col 48}{space 1}    2.16{col 57}{space 3}0.031{col 65}{space 4} .0006528{col 78}{space 3} .0134901
{txt}{space 23} {c |}
{space 19}year {c |}
{space 18}2002  {c |}{col 25}{res}{space 2}-1.108599{col 37}{space 2} .2595284{col 48}{space 1}   -4.27{col 57}{space 3}0.000{col 65}{space 4}-1.617265{col 78}{space 3}-.5999326
{txt}{space 18}2003  {c |}{col 25}{res}{space 2}-.2460018{col 37}{space 2} .2793312{col 48}{space 1}   -0.88{col 57}{space 3}0.378{col 65}{space 4}-.7934809{col 78}{space 3} .3014774
{txt}{space 18}2004  {c |}{col 25}{res}{space 2}-.3926453{col 37}{space 2} .2731252{col 48}{space 1}   -1.44{col 57}{space 3}0.151{col 65}{space 4}-.9279609{col 78}{space 3} .1426702
{txt}{space 18}2005  {c |}{col 25}{res}{space 2}-.0484127{col 37}{space 2} .3403972{col 48}{space 1}   -0.14{col 57}{space 3}0.887{col 65}{space 4} -.715579{col 78}{space 3} .6187536
{txt}{space 18}2006  {c |}{col 25}{res}{space 2}-.0396124{col 37}{space 2} .2955314{col 48}{space 1}   -0.13{col 57}{space 3}0.893{col 65}{space 4}-.6188433{col 78}{space 3} .5396185
{txt}{space 18}2007  {c |}{col 25}{res}{space 2} -.058067{col 37}{space 2} .2703461{col 48}{space 1}   -0.21{col 57}{space 3}0.830{col 65}{space 4}-.5879356{col 78}{space 3} .4718016
{txt}{space 18}2008  {c |}{col 25}{res}{space 2} .0932546{col 37}{space 2} .3032668{col 48}{space 1}    0.31{col 57}{space 3}0.758{col 65}{space 4}-.5011375{col 78}{space 3} .6876466
{txt}{space 18}2009  {c |}{col 25}{res}{space 2} .1892031{col 37}{space 2} .3117859{col 48}{space 1}    0.61{col 57}{space 3}0.544{col 65}{space 4}-.4218861{col 78}{space 3} .8002923
{txt}{space 18}2010  {c |}{col 25}{res}{space 2} .1336884{col 37}{space 2}  .328774{col 48}{space 1}    0.41{col 57}{space 3}0.684{col 65}{space 4}-.5106968{col 78}{space 3} .7780736
{txt}{space 18}2011  {c |}{col 25}{res}{space 2}-.0141223{col 37}{space 2} .3680485{col 48}{space 1}   -0.04{col 57}{space 3}0.969{col 65}{space 4}-.7354842{col 78}{space 3} .7072395
{txt}{space 18}2012  {c |}{col 25}{res}{space 2} .2125546{col 37}{space 2}  .382035{col 48}{space 1}    0.56{col 57}{space 3}0.578{col 65}{space 4}-.5362202{col 78}{space 3} .9613293
{txt}{space 18}2013  {c |}{col 25}{res}{space 2} .2285888{col 37}{space 2} .4027942{col 48}{space 1}    0.57{col 57}{space 3}0.570{col 65}{space 4}-.5608733{col 78}{space 3} 1.018051
{txt}{space 18}2014  {c |}{col 25}{res}{space 2}  .310408{col 37}{space 2} .4089134{col 48}{space 1}    0.76{col 57}{space 3}0.448{col 65}{space 4}-.4910475{col 78}{space 3} 1.111863
{txt}{space 18}2015  {c |}{col 25}{res}{space 2} .2530752{col 37}{space 2} .4287969{col 48}{space 1}    0.59{col 57}{space 3}0.555{col 65}{space 4}-.5873513{col 78}{space 3} 1.093502
{txt}{space 18}2016  {c |}{col 25}{res}{space 2} .3008066{col 37}{space 2} .4507267{col 48}{space 1}    0.67{col 57}{space 3}0.505{col 65}{space 4}-.5826015{col 78}{space 3} 1.184215
{txt}{space 18}2017  {c |}{col 25}{res}{space 2}  .230029{col 37}{space 2} .4692067{col 48}{space 1}    0.49{col 57}{space 3}0.624{col 65}{space 4}-.6895992{col 78}{space 3} 1.149657
{txt}{space 23} {c |}
{space 18}_cons {c |}{col 25}{res}{space 2} 13.27186{col 37}{space 2}  7.01346{col 48}{space 1}    1.89{col 57}{space 3}0.058{col 65}{space 4}-.4742698{col 78}{space 3} 27.01799
{txt}{hline 24}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
({res}est1{txt} stored)

{com}. eststo: xtnbreg government_visits L1.government_visits   c.protestL1##c.polity2L1  lngdppc lngdp c.protestL1##c.NaturalResources  urban_pop electricity FDI_inflow tradeopenness  i.year   , fe
{txt}note: 1 group (4 obs) dropped because of all zero outcomes
note: protestL1 omitted because of collinearity
{res}
{txt}Iteration 0:{space 3}log likelihood = {res:-370.69705}  
Iteration 1:{space 3}log likelihood = {res:-358.14337}  
Iteration 2:{space 3}log likelihood = {res:-355.99078}  
Iteration 3:{space 3}log likelihood = {res:-355.75342}  
Iteration 4:{space 3}log likelihood = {res:-355.74714}  
Iteration 5:{space 3}log likelihood = {res:-355.74712}  
{res}
{txt}Conditional FE negative binomial regression{col 49}Number of obs{col 67}={col 69}{res}       167
{txt}Group variable: {res}cowcode{col 49}{txt}Number of groups{col 67}={col 69}{res}        19

{txt}{col 49}Obs per group:
{col 63}min{col 67}={col 69}{res}         2
{txt}{col 63}avg{col 67}={col 69}{res}       8.8
{txt}{col 63}max{col 67}={col 69}{res}        16

{txt}{col 49}Wald chi2({res}28{txt}){col 67}={col 70}{res}    83.37
{txt}Log likelihood  = {res}-355.74712{col 49}{txt}Prob > chi2{col 67}={res}{col 73}0.0000

{txt}{hline 31}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}             government_visits{col 32}{c |}      Coef.{col 44}   Std. Err.{col 56}      z{col 64}   P>|z|{col 72}     [95% Con{col 85}f. Interval]
{hline 31}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 13}government_visits {c |}
{space 27}L1. {c |}{col 32}{res}{space 2} .0052807{col 44}{space 2}  .008566{col 55}{space 1}    0.62{col 64}{space 3}0.538{col 72}{space 4}-.0115083{col 85}{space 3} .0220698
{txt}{space 30} {c |}
{space 21}protestL1 {c |}{col 32}{res}{space 2} .0081817{col 44}{space 2} .0045152{col 55}{space 1}    1.81{col 64}{space 3}0.070{col 72}{space 4}-.0006679{col 85}{space 3} .0170313
{txt}{space 21}polity2L1 {c |}{col 32}{res}{space 2} .0113405{col 44}{space 2} .0138101{col 55}{space 1}    0.82{col 64}{space 3}0.412{col 72}{space 4}-.0157268{col 85}{space 3} .0384077
{txt}{space 30} {c |}
{space 7}c.protestL1#c.polity2L1 {c |}{col 32}{res}{space 2}-.0014558{col 44}{space 2} .0005723{col 55}{space 1}   -2.54{col 64}{space 3}0.011{col 72}{space 4}-.0025774{col 85}{space 3}-.0003341
{txt}{space 30} {c |}
{space 23}lngdppc {c |}{col 32}{res}{space 2}-.1846599{col 44}{space 2} .4240612{col 55}{space 1}   -0.44{col 64}{space 3}0.663{col 72}{space 4}-1.015805{col 85}{space 3} .6464847
{txt}{space 25}lngdp {c |}{col 32}{res}{space 2}-.2745827{col 44}{space 2} .3580662{col 55}{space 1}   -0.77{col 64}{space 3}0.443{col 72}{space 4}-.9763796{col 85}{space 3} .4272141
{txt}{space 21}protestL1 {c |}{col 32}{res}{space 2}        0{col 44}{txt}  (omitted)
{space 14}NaturalResources {c |}{col 32}{res}{space 2}  .010284{col 44}{space 2} .0137779{col 55}{space 1}    0.75{col 64}{space 3}0.455{col 72}{space 4}-.0167202{col 85}{space 3} .0372882
{txt}{space 30} {c |}
c.protestL1#c.NaturalResources {c |}{col 32}{res}{space 2} .0010812{col 44}{space 2} .0004712{col 55}{space 1}    2.29{col 64}{space 3}0.022{col 72}{space 4} .0001576{col 85}{space 3} .0020048
{txt}{space 30} {c |}
{space 21}urban_pop {c |}{col 32}{res}{space 2}-.0435621{col 44}{space 2} .0250822{col 55}{space 1}   -1.74{col 64}{space 3}0.082{col 72}{space 4}-.0927223{col 85}{space 3} .0055981
{txt}{space 19}electricity {c |}{col 32}{res}{space 2} .0012565{col 44}{space 2} .0056928{col 55}{space 1}    0.22{col 64}{space 3}0.825{col 72}{space 4}-.0099011{col 85}{space 3} .0124141
{txt}{space 20}FDI_inflow {c |}{col 32}{res}{space 2}-.0070357{col 44}{space 2}  .010455{col 55}{space 1}   -0.67{col 64}{space 3}0.501{col 72}{space 4}-.0275271{col 85}{space 3} .0134557
{txt}{space 17}tradeopenness {c |}{col 32}{res}{space 2} .0071795{col 44}{space 2} .0031789{col 55}{space 1}    2.26{col 64}{space 3}0.024{col 72}{space 4} .0009489{col 85}{space 3} .0134101
{txt}{space 30} {c |}
{space 26}year {c |}
{space 25}2002  {c |}{col 32}{res}{space 2}-1.098594{col 44}{space 2} .2557149{col 55}{space 1}   -4.30{col 64}{space 3}0.000{col 72}{space 4}-1.599786{col 85}{space 3}-.5974019
{txt}{space 25}2003  {c |}{col 32}{res}{space 2}-.2687406{col 44}{space 2} .2747605{col 55}{space 1}   -0.98{col 64}{space 3}0.328{col 72}{space 4}-.8072614{col 85}{space 3} .2697801
{txt}{space 25}2004  {c |}{col 32}{res}{space 2}-.4137139{col 44}{space 2} .2734314{col 55}{space 1}   -1.51{col 64}{space 3}0.130{col 72}{space 4}-.9496297{col 85}{space 3} .1222018
{txt}{space 25}2005  {c |}{col 32}{res}{space 2}-.0550114{col 44}{space 2} .3337415{col 55}{space 1}   -0.16{col 64}{space 3}0.869{col 72}{space 4}-.7091328{col 85}{space 3}   .59911
{txt}{space 25}2006  {c |}{col 32}{res}{space 2}-.0658142{col 44}{space 2} .2948157{col 55}{space 1}   -0.22{col 64}{space 3}0.823{col 72}{space 4}-.6436424{col 85}{space 3} .5120141
{txt}{space 25}2007  {c |}{col 32}{res}{space 2}-.0592963{col 44}{space 2} .2662789{col 55}{space 1}   -0.22{col 64}{space 3}0.824{col 72}{space 4}-.5811933{col 85}{space 3} .4626007
{txt}{space 25}2008  {c |}{col 32}{res}{space 2} .0749251{col 44}{space 2} .2988009{col 55}{space 1}    0.25{col 64}{space 3}0.802{col 72}{space 4} -.510714{col 85}{space 3} .6605641
{txt}{space 25}2009  {c |}{col 32}{res}{space 2}  .169108{col 44}{space 2} .3096005{col 55}{space 1}    0.55{col 64}{space 3}0.585{col 72}{space 4}-.4376979{col 85}{space 3} .7759138
{txt}{space 25}2010  {c |}{col 32}{res}{space 2} .0817143{col 44}{space 2} .3318172{col 55}{space 1}    0.25{col 64}{space 3}0.805{col 72}{space 4}-.5686353{col 85}{space 3}  .732064
{txt}{space 25}2011  {c |}{col 32}{res}{space 2}-.0499798{col 44}{space 2}  .370348{col 55}{space 1}   -0.13{col 64}{space 3}0.893{col 72}{space 4}-.7758486{col 85}{space 3}  .675889
{txt}{space 25}2012  {c |}{col 32}{res}{space 2} .1355179{col 44}{space 2} .3832706{col 55}{space 1}    0.35{col 64}{space 3}0.724{col 72}{space 4}-.6156787{col 85}{space 3} .8867145
{txt}{space 25}2013  {c |}{col 32}{res}{space 2} .1661993{col 44}{space 2} .4019501{col 55}{space 1}    0.41{col 64}{space 3}0.679{col 72}{space 4}-.6216083{col 85}{space 3} .9540069
{txt}{space 25}2014  {c |}{col 32}{res}{space 2} .2501692{col 44}{space 2} .4100382{col 55}{space 1}    0.61{col 64}{space 3}0.542{col 72}{space 4}-.5534909{col 85}{space 3} 1.053829
{txt}{space 25}2015  {c |}{col 32}{res}{space 2}  .204587{col 44}{space 2} .4266741{col 55}{space 1}    0.48{col 64}{space 3}0.632{col 72}{space 4}-.6316789{col 85}{space 3} 1.040853
{txt}{space 25}2016  {c |}{col 32}{res}{space 2} .2958087{col 44}{space 2} .4477535{col 55}{space 1}    0.66{col 64}{space 3}0.509{col 72}{space 4}-.5817721{col 85}{space 3}  1.17339
{txt}{space 25}2017  {c |}{col 32}{res}{space 2} .1105867{col 44}{space 2} .4629663{col 55}{space 1}    0.24{col 64}{space 3}0.811{col 72}{space 4}-.7968106{col 85}{space 3} 1.017984
{txt}{space 30} {c |}
{space 25}_cons {c |}{col 32}{res}{space 2} 13.01479{col 44}{space 2} 7.341864{col 55}{space 1}    1.77{col 64}{space 3}0.076{col 72}{space 4}   -1.375{col 85}{space 3} 27.40458
{txt}{hline 31}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
({res}est2{txt} stored)

{com}. eststo: xtnbreg government_visits L1.government_visits   c.protestL1##c.polity2L1  lngdppc lngdp NaturalResources  urban_pop electricity c.protestL1##c.FDI_inflow tradeopenness  i.year   , fe
{txt}note: 1 group (4 obs) dropped because of all zero outcomes
note: protestL1 omitted because of collinearity
{res}
{txt}Iteration 0:{space 3}log likelihood = {res:-371.95811}  
Iteration 1:{space 3}log likelihood = {res:-359.93806}  
Iteration 2:{space 3}log likelihood = {res:-358.07964}  
Iteration 3:{space 3}log likelihood = {res:-357.86197}  
Iteration 4:{space 3}log likelihood = {res:-357.85718}  
Iteration 5:{space 3}log likelihood = {res:-357.85718}  
{res}
{txt}Conditional FE negative binomial regression{col 49}Number of obs{col 67}={col 69}{res}       167
{txt}Group variable: {res}cowcode{col 49}{txt}Number of groups{col 67}={col 69}{res}        19

{txt}{col 49}Obs per group:
{col 63}min{col 67}={col 69}{res}         2
{txt}{col 63}avg{col 67}={col 69}{res}       8.8
{txt}{col 63}max{col 67}={col 69}{res}        16

{txt}{col 49}Wald chi2({res}28{txt}){col 67}={col 70}{res}    77.53
{txt}Log likelihood  = {res}-357.85718{col 49}{txt}Prob > chi2{col 67}={res}{col 73}0.0000

{txt}{hline 25}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}       government_visits{col 26}{c |}      Coef.{col 38}   Std. Err.{col 50}      z{col 58}   P>|z|{col 66}     [95% Con{col 79}f. Interval]
{hline 25}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}government_visits {c |}
{space 21}L1. {c |}{col 26}{res}{space 2} .0087287{col 38}{space 2} .0085511{col 49}{space 1}    1.02{col 58}{space 3}0.307{col 66}{space 4}-.0080313{col 79}{space 3} .0254886
{txt}{space 24} {c |}
{space 15}protestL1 {c |}{col 26}{res}{space 2} .0100719{col 38}{space 2} .0045772{col 49}{space 1}    2.20{col 58}{space 3}0.028{col 66}{space 4} .0011006{col 79}{space 3} .0190431
{txt}{space 15}polity2L1 {c |}{col 26}{res}{space 2} .0106175{col 38}{space 2} .0140471{col 49}{space 1}    0.76{col 58}{space 3}0.450{col 66}{space 4}-.0169144{col 79}{space 3} .0381493
{txt}{space 24} {c |}
{space 1}c.protestL1#c.polity2L1 {c |}{col 26}{res}{space 2}-.0015427{col 38}{space 2} .0006028{col 49}{space 1}   -2.56{col 58}{space 3}0.010{col 66}{space 4}-.0027241{col 79}{space 3}-.0003613
{txt}{space 24} {c |}
{space 17}lngdppc {c |}{col 26}{res}{space 2}-.1601593{col 38}{space 2} .4172928{col 49}{space 1}   -0.38{col 58}{space 3}0.701{col 66}{space 4}-.9780382{col 79}{space 3} .6577196
{txt}{space 19}lngdp {c |}{col 26}{res}{space 2}-.3091863{col 38}{space 2} .3405294{col 49}{space 1}   -0.91{col 58}{space 3}0.364{col 66}{space 4}-.9766116{col 79}{space 3} .3582389
{txt}{space 8}NaturalResources {c |}{col 26}{res}{space 2} .0091488{col 38}{space 2} .0140747{col 49}{space 1}    0.65{col 58}{space 3}0.516{col 66}{space 4}-.0184371{col 79}{space 3} .0367346
{txt}{space 15}urban_pop {c |}{col 26}{res}{space 2}-.0364668{col 38}{space 2} .0256586{col 49}{space 1}   -1.42{col 58}{space 3}0.155{col 66}{space 4}-.0867567{col 79}{space 3} .0138232
{txt}{space 13}electricity {c |}{col 26}{res}{space 2}-.0003417{col 38}{space 2}  .005654{col 49}{space 1}   -0.06{col 58}{space 3}0.952{col 66}{space 4}-.0114233{col 79}{space 3} .0107399
{txt}{space 15}protestL1 {c |}{col 26}{res}{space 2}        0{col 38}{txt}  (omitted)
{space 14}FDI_inflow {c |}{col 26}{res}{space 2}-.0055806{col 38}{space 2} .0119464{col 49}{space 1}   -0.47{col 58}{space 3}0.640{col 66}{space 4}-.0289951{col 79}{space 3} .0178339
{txt}{space 24} {c |}
c.protestL1#c.FDI_inflow {c |}{col 26}{res}{space 2} .0004012{col 38}{space 2} .0004511{col 49}{space 1}    0.89{col 58}{space 3}0.374{col 66}{space 4} -.000483{col 79}{space 3} .0012854
{txt}{space 24} {c |}
{space 11}tradeopenness {c |}{col 26}{res}{space 2} .0073432{col 38}{space 2} .0031928{col 49}{space 1}    2.30{col 58}{space 3}0.021{col 66}{space 4} .0010854{col 79}{space 3}  .013601
{txt}{space 24} {c |}
{space 20}year {c |}
{space 19}2002  {c |}{col 26}{res}{space 2}-1.095414{col 38}{space 2} .2587764{col 49}{space 1}   -4.23{col 58}{space 3}0.000{col 66}{space 4}-1.602606{col 79}{space 3}-.5882216
{txt}{space 19}2003  {c |}{col 26}{res}{space 2}-.2360035{col 38}{space 2} .2784287{col 49}{space 1}   -0.85{col 58}{space 3}0.397{col 66}{space 4}-.7817137{col 79}{space 3} .3097068
{txt}{space 19}2004  {c |}{col 26}{res}{space 2}-.3782434{col 38}{space 2} .2733602{col 49}{space 1}   -1.38{col 58}{space 3}0.166{col 66}{space 4}-.9140196{col 79}{space 3} .1575327
{txt}{space 19}2005  {c |}{col 26}{res}{space 2}-.0341925{col 38}{space 2} .3398242{col 49}{space 1}   -0.10{col 58}{space 3}0.920{col 66}{space 4}-.7002358{col 79}{space 3} .6318507
{txt}{space 19}2006  {c |}{col 26}{res}{space 2}-.0223993{col 38}{space 2} .2953951{col 49}{space 1}   -0.08{col 58}{space 3}0.940{col 66}{space 4}-.6013631{col 79}{space 3} .5565646
{txt}{space 19}2007  {c |}{col 26}{res}{space 2}  -.03076{col 38}{space 2} .2714047{col 49}{space 1}   -0.11{col 58}{space 3}0.910{col 66}{space 4}-.5627034{col 79}{space 3} .5011833
{txt}{space 19}2008  {c |}{col 26}{res}{space 2}   .11028{col 38}{space 2} .3025732{col 49}{space 1}    0.36{col 58}{space 3}0.716{col 66}{space 4}-.4827526{col 79}{space 3} .7033127
{txt}{space 19}2009  {c |}{col 26}{res}{space 2} .2269665{col 38}{space 2} .3128873{col 49}{space 1}    0.73{col 58}{space 3}0.468{col 66}{space 4}-.3862814{col 79}{space 3} .8402145
{txt}{space 19}2010  {c |}{col 26}{res}{space 2} .1512174{col 38}{space 2}  .329009{col 49}{space 1}    0.46{col 58}{space 3}0.646{col 66}{space 4}-.4936283{col 79}{space 3} .7960632
{txt}{space 19}2011  {c |}{col 26}{res}{space 2} .0141267{col 38}{space 2} .3693225{col 49}{space 1}    0.04{col 58}{space 3}0.969{col 66}{space 4}-.7097321{col 79}{space 3} .7379855
{txt}{space 19}2012  {c |}{col 26}{res}{space 2} .2226182{col 38}{space 2} .3816298{col 49}{space 1}    0.58{col 58}{space 3}0.560{col 66}{space 4}-.5253625{col 79}{space 3} .9705988
{txt}{space 19}2013  {c |}{col 26}{res}{space 2} .2547737{col 38}{space 2} .4026512{col 49}{space 1}    0.63{col 58}{space 3}0.527{col 66}{space 4}-.5344082{col 79}{space 3} 1.043956
{txt}{space 19}2014  {c |}{col 26}{res}{space 2}  .328299{col 38}{space 2} .4078576{col 49}{space 1}    0.80{col 58}{space 3}0.421{col 66}{space 4}-.4710872{col 79}{space 3} 1.127685
{txt}{space 19}2015  {c |}{col 26}{res}{space 2} .2564094{col 38}{space 2} .4240075{col 49}{space 1}    0.60{col 58}{space 3}0.545{col 66}{space 4}-.5746301{col 79}{space 3} 1.087449
{txt}{space 19}2016  {c |}{col 26}{res}{space 2} .3400231{col 38}{space 2} .4520244{col 49}{space 1}    0.75{col 58}{space 3}0.452{col 66}{space 4}-.5459283{col 79}{space 3} 1.225975
{txt}{space 19}2017  {c |}{col 26}{res}{space 2} .2335683{col 38}{space 2} .4619693{col 49}{space 1}    0.51{col 58}{space 3}0.613{col 66}{space 4} -.671875{col 79}{space 3} 1.139012
{txt}{space 24} {c |}
{space 19}_cons {c |}{col 26}{res}{space 2} 13.36998{col 38}{space 2} 7.052632{col 49}{space 1}    1.90{col 58}{space 3}0.058{col 66}{space 4}-.4529246{col 79}{space 3} 27.19289
{txt}{hline 25}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
({res}est3{txt} stored)

{com}. eststo: xtnbreg government_visits L1.government_visits   c.protestL1##c.polity2L1  lngdppc lngdp NaturalResources c.protestL1##c.chinese_ofdi_inflow_gdp urban_pop electricity FDI_inflow tradeopenness  i.year   , fe
{txt}note: protestL1 omitted because of collinearity
{res}
{txt}Iteration 0:{space 3}log likelihood = {res:-342.23892}  
Iteration 1:{space 3}log likelihood = {res:-328.28556}  
Iteration 2:{space 3}log likelihood = {res:-325.88132}  
Iteration 3:{space 3}log likelihood = {res:-325.80487}  
Iteration 4:{space 3}log likelihood = {res:-325.80414}  
Iteration 5:{space 3}log likelihood = {res:-325.80414}  
{res}
{txt}Conditional FE negative binomial regression{col 49}Number of obs{col 67}={col 69}{res}       156
{txt}Group variable: {res}cowcode{col 49}{txt}Number of groups{col 67}={col 69}{res}        19

{txt}{col 49}Obs per group:
{col 63}min{col 67}={col 69}{res}         2
{txt}{col 63}avg{col 67}={col 69}{res}       8.2
{txt}{col 63}max{col 67}={col 69}{res}        14

{txt}{col 49}Wald chi2({res}27{txt}){col 67}={col 70}{res}    43.77
{txt}Log likelihood  = {res}-325.80414{col 49}{txt}Prob > chi2{col 67}={res}{col 73}0.0218

{txt}{hline 38}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}                    government_visits{col 39}{c |}      Coef.{col 51}   Std. Err.{col 63}      z{col 71}   P>|z|{col 79}     [95% Con{col 92}f. Interval]
{hline 38}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 20}government_visits {c |}
{space 34}L1. {c |}{col 39}{res}{space 2} .0093403{col 51}{space 2} .0094206{col 62}{space 1}    0.99{col 71}{space 3}0.321{col 79}{space 4}-.0091238{col 92}{space 3} .0278043
{txt}{space 37} {c |}
{space 28}protestL1 {c |}{col 39}{res}{space 2} .0098439{col 51}{space 2} .0048237{col 62}{space 1}    2.04{col 71}{space 3}0.041{col 79}{space 4} .0003896{col 92}{space 3} .0192981
{txt}{space 28}polity2L1 {c |}{col 39}{res}{space 2}  .009224{col 51}{space 2}   .01529{col 62}{space 1}    0.60{col 71}{space 3}0.546{col 79}{space 4}-.0207438{col 92}{space 3} .0391918
{txt}{space 37} {c |}
{space 14}c.protestL1#c.polity2L1 {c |}{col 39}{res}{space 2}-.0014633{col 51}{space 2} .0006393{col 62}{space 1}   -2.29{col 71}{space 3}0.022{col 79}{space 4}-.0027164{col 92}{space 3}-.0002102
{txt}{space 37} {c |}
{space 30}lngdppc {c |}{col 39}{res}{space 2}-.4416947{col 51}{space 2} .4551371{col 62}{space 1}   -0.97{col 71}{space 3}0.332{col 79}{space 4}-1.333747{col 92}{space 3} .4503576
{txt}{space 32}lngdp {c |}{col 39}{res}{space 2}-.3344917{col 51}{space 2}  .311675{col 62}{space 1}   -1.07{col 71}{space 3}0.283{col 79}{space 4}-.9453635{col 92}{space 3}   .27638
{txt}{space 21}NaturalResources {c |}{col 39}{res}{space 2} .0092554{col 51}{space 2} .0148904{col 62}{space 1}    0.62{col 71}{space 3}0.534{col 79}{space 4}-.0199292{col 92}{space 3}   .03844
{txt}{space 28}protestL1 {c |}{col 39}{res}{space 2}        0{col 51}{txt}  (omitted)
{space 14}chinese_ofdi_inflow_gdp {c |}{col 39}{res}{space 2}-.1143283{col 51}{space 2} .0588545{col 62}{space 1}   -1.94{col 71}{space 3}0.052{col 79}{space 4}-.2296809{col 92}{space 3} .0010244
{txt}{space 37} {c |}
c.protestL1#c.chinese_ofdi_inflow_gdp {c |}{col 39}{res}{space 2} .0020919{col 51}{space 2} .0023515{col 62}{space 1}    0.89{col 71}{space 3}0.374{col 79}{space 4}-.0025169{col 92}{space 3} .0067007
{txt}{space 37} {c |}
{space 28}urban_pop {c |}{col 39}{res}{space 2} .0080715{col 51}{space 2} .0314183{col 62}{space 1}    0.26{col 71}{space 3}0.797{col 79}{space 4}-.0535073{col 92}{space 3} .0696503
{txt}{space 26}electricity {c |}{col 39}{res}{space 2}-.0029628{col 51}{space 2} .0076755{col 62}{space 1}   -0.39{col 71}{space 3}0.699{col 79}{space 4}-.0180065{col 92}{space 3} .0120809
{txt}{space 27}FDI_inflow {c |}{col 39}{res}{space 2} -.001115{col 51}{space 2} .0117249{col 62}{space 1}   -0.10{col 71}{space 3}0.924{col 79}{space 4}-.0240954{col 92}{space 3} .0218653
{txt}{space 24}tradeopenness {c |}{col 39}{res}{space 2} .0094918{col 51}{space 2} .0038306{col 62}{space 1}    2.48{col 71}{space 3}0.013{col 79}{space 4} .0019838{col 92}{space 3} .0169997
{txt}{space 37} {c |}
{space 33}year {c |}
{space 32}2004  {c |}{col 39}{res}{space 2}-.0369108{col 51}{space 2} .3063834{col 62}{space 1}   -0.12{col 71}{space 3}0.904{col 79}{space 4}-.6374111{col 92}{space 3} .5635896
{txt}{space 32}2005  {c |}{col 39}{res}{space 2} .2293623{col 51}{space 2} .3511617{col 62}{space 1}    0.65{col 71}{space 3}0.514{col 79}{space 4} -.458902{col 92}{space 3} .9176266
{txt}{space 32}2006  {c |}{col 39}{res}{space 2} .2981706{col 51}{space 2} .3259189{col 62}{space 1}    0.91{col 71}{space 3}0.360{col 79}{space 4}-.3406187{col 92}{space 3} .9369599
{txt}{space 32}2007  {c |}{col 39}{res}{space 2}   .22769{col 51}{space 2} .3206099{col 62}{space 1}    0.71{col 71}{space 3}0.478{col 79}{space 4} -.400694{col 92}{space 3} .8560739
{txt}{space 32}2008  {c |}{col 39}{res}{space 2} .3800484{col 51}{space 2} .3582697{col 62}{space 1}    1.06{col 71}{space 3}0.289{col 79}{space 4}-.3221473{col 92}{space 3} 1.082244
{txt}{space 32}2009  {c |}{col 39}{res}{space 2} .5325009{col 51}{space 2} .3526486{col 62}{space 1}    1.51{col 71}{space 3}0.131{col 79}{space 4}-.1586777{col 92}{space 3} 1.223679
{txt}{space 32}2010  {c |}{col 39}{res}{space 2} .5137165{col 51}{space 2} .3725135{col 62}{space 1}    1.38{col 71}{space 3}0.168{col 79}{space 4}-.2163966{col 92}{space 3}  1.24383
{txt}{space 32}2011  {c |}{col 39}{res}{space 2}  .415704{col 51}{space 2} .4158899{col 62}{space 1}    1.00{col 71}{space 3}0.318{col 79}{space 4}-.3994252{col 92}{space 3} 1.230833
{txt}{space 32}2012  {c |}{col 39}{res}{space 2} .6766612{col 51}{space 2} .4301483{col 62}{space 1}    1.57{col 71}{space 3}0.116{col 79}{space 4}-.1664139{col 92}{space 3} 1.519736
{txt}{space 32}2013  {c |}{col 39}{res}{space 2} .6732423{col 51}{space 2} .4533576{col 62}{space 1}    1.49{col 71}{space 3}0.138{col 79}{space 4}-.2153223{col 92}{space 3} 1.561807
{txt}{space 32}2014  {c |}{col 39}{res}{space 2}  .743889{col 51}{space 2} .4508362{col 62}{space 1}    1.65{col 71}{space 3}0.099{col 79}{space 4}-.1397338{col 92}{space 3} 1.627512
{txt}{space 32}2015  {c |}{col 39}{res}{space 2} .6304505{col 51}{space 2} .4507207{col 62}{space 1}    1.40{col 71}{space 3}0.162{col 79}{space 4}-.2529458{col 92}{space 3} 1.513847
{txt}{space 32}2016  {c |}{col 39}{res}{space 2} .7918977{col 51}{space 2} .4806335{col 62}{space 1}    1.65{col 71}{space 3}0.099{col 79}{space 4}-.1501267{col 92}{space 3} 1.733922
{txt}{space 32}2017  {c |}{col 39}{res}{space 2} .6987973{col 51}{space 2} .4820467{col 62}{space 1}    1.45{col 71}{space 3}0.147{col 79}{space 4}-.2459968{col 92}{space 3} 1.643591
{txt}{space 37} {c |}
{space 32}_cons {c |}{col 39}{res}{space 2} 14.06859{col 51}{space 2} 6.540344{col 62}{space 1}    2.15{col 71}{space 3}0.031{col 79}{space 4} 1.249755{col 92}{space 3} 26.88743
{txt}{hline 38}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
({res}est4{txt} stored)

{com}. 
{txt}end of do-file

{com}. do "C:\Users\yujeo\AppData\Local\Temp\STD01000000.tmp"
{txt}
{com}. *Table A6: Anti-China Protests and Polity on Chinese Aid (with Interactions)
. eststo clear 
{txt}
{com}. 
{txt}end of do-file

{com}. do "C:\Users\yujeo\AppData\Local\Temp\STD01000000.tmp"
{txt}
{com}. eststo: xtreg OFa_all_pop_ln L1.OFa_all_pop_ln  c.protestL1##c.polity2L1  c.protestL1##c.lngdppc lngdp NaturalResources  urban_pop electricity FDI_inflow tradeopenness  i.year   , fe
{p 0 6 2}{txt}note: protestL1 omitted because of collinearity{p_end}
{res}
{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}       154
{txt}Group variable: {res}cowcode{txt}{col 49}Number of groups{col 67}={col 69}{res}        18

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.3822{col 63}{txt}min{col 67}={col 69}{res}         3
{txt}     between = {res}0.3708{col 63}{txt}avg{col 67}={col 69}{res}       8.6
{txt}     overall = {res}0.1607{col 63}{txt}max{col 67}={col 69}{res}        13

{txt}{col 49}F({res}28{txt},{res}108{txt}){col 67}={col 70}{res}     2.39
{txt}corr(u_i, Xb){col 16}= {res}-0.9911{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0008

{txt}{hline 24}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}         OFa_all_pop_ln{col 25}{c |}      Coef.{col 37}   Std. Err.{col 49}      t{col 57}   P>|t|{col 65}     [95% Con{col 78}f. Interval]
{hline 24}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}OFa_all_pop_ln {c |}
{space 20}L1. {c |}{col 25}{res}{space 2}-.0748402{col 37}{space 2} .0935723{col 48}{space 1}   -0.80{col 57}{space 3}0.426{col 65}{space 4}-.2603168{col 78}{space 3} .1106364
{txt}{space 23} {c |}
{space 14}protestL1 {c |}{col 25}{res}{space 2}-.0377615{col 37}{space 2} .0237401{col 48}{space 1}   -1.59{col 57}{space 3}0.115{col 65}{space 4}-.0848184{col 78}{space 3} .0092955
{txt}{space 14}polity2L1 {c |}{col 25}{res}{space 2} .1042365{col 37}{space 2} .0455694{col 48}{space 1}    2.29{col 57}{space 3}0.024{col 65}{space 4} .0139101{col 78}{space 3} .1945629
{txt}{space 23} {c |}
c.protestL1#c.polity2L1 {c |}{col 25}{res}{space 2} -.005342{col 37}{space 2} .0016482{col 48}{space 1}   -3.24{col 57}{space 3}0.002{col 65}{space 4} -.008609{col 78}{space 3} -.002075
{txt}{space 23} {c |}
{space 14}protestL1 {c |}{col 25}{res}{space 2}        0{col 37}{txt}  (omitted)
{space 16}lngdppc {c |}{col 25}{res}{space 2}-2.981084{col 37}{space 2}  5.91283{col 48}{space 1}   -0.50{col 57}{space 3}0.615{col 65}{space 4}-14.70134{col 78}{space 3} 8.739172
{txt}{space 23} {c |}
{space 2}c.protestL1#c.lngdppc {c |}{col 25}{res}{space 2}  .009706{col 37}{space 2} .0031324{col 48}{space 1}    3.10{col 57}{space 3}0.002{col 65}{space 4}  .003497{col 78}{space 3} .0159151
{txt}{space 23} {c |}
{space 18}lngdp {c |}{col 25}{res}{space 2} 5.187519{col 37}{space 2} 5.859558{col 48}{space 1}    0.89{col 57}{space 3}0.378{col 65}{space 4}-6.427141{col 78}{space 3} 16.80218
{txt}{space 7}NaturalResources {c |}{col 25}{res}{space 2}-.0930716{col 37}{space 2} .0393641{col 48}{space 1}   -2.36{col 57}{space 3}0.020{col 65}{space 4} -.171098{col 78}{space 3}-.0150453
{txt}{space 14}urban_pop {c |}{col 25}{res}{space 2} .1641178{col 37}{space 2} .1056454{col 48}{space 1}    1.55{col 57}{space 3}0.123{col 65}{space 4}-.0452897{col 78}{space 3} .3735254
{txt}{space 12}electricity {c |}{col 25}{res}{space 2}-.0330977{col 37}{space 2} .0180968{col 48}{space 1}   -1.83{col 57}{space 3}0.070{col 65}{space 4}-.0689687{col 78}{space 3} .0027733
{txt}{space 13}FDI_inflow {c |}{col 25}{res}{space 2} .0158741{col 37}{space 2}  .020306{col 48}{space 1}    0.78{col 57}{space 3}0.436{col 65}{space 4}-.0243759{col 78}{space 3}  .056124
{txt}{space 10}tradeopenness {c |}{col 25}{res}{space 2} .0218435{col 37}{space 2} .0117844{col 48}{space 1}    1.85{col 57}{space 3}0.067{col 65}{space 4}-.0015152{col 78}{space 3} .0452022
{txt}{space 23} {c |}
{space 19}year {c |}
{space 18}2002  {c |}{col 25}{res}{space 2} .6515061{col 37}{space 2} 1.236188{col 48}{space 1}    0.53{col 57}{space 3}0.599{col 65}{space 4}-1.798834{col 78}{space 3} 3.101846
{txt}{space 18}2003  {c |}{col 25}{res}{space 2} 1.175062{col 37}{space 2} 1.174979{col 48}{space 1}    1.00{col 57}{space 3}0.320{col 65}{space 4}-1.153952{col 78}{space 3} 3.504075
{txt}{space 18}2004  {c |}{col 25}{res}{space 2} 1.528533{col 37}{space 2} 1.361035{col 48}{space 1}    1.12{col 57}{space 3}0.264{col 65}{space 4}-1.169275{col 78}{space 3} 4.226341
{txt}{space 18}2005  {c |}{col 25}{res}{space 2} 1.144724{col 37}{space 2} 1.465036{col 48}{space 1}    0.78{col 57}{space 3}0.436{col 65}{space 4}-1.759232{col 78}{space 3} 4.048679
{txt}{space 18}2006  {c |}{col 25}{res}{space 2} .5342663{col 37}{space 2} 1.254539{col 48}{space 1}    0.43{col 57}{space 3}0.671{col 65}{space 4}-1.952449{col 78}{space 3} 3.020981
{txt}{space 18}2007  {c |}{col 25}{res}{space 2}-1.179113{col 37}{space 2} 1.100609{col 48}{space 1}   -1.07{col 57}{space 3}0.286{col 65}{space 4}-3.360712{col 78}{space 3} 1.002486
{txt}{space 18}2008  {c |}{col 25}{res}{space 2}-1.483102{col 37}{space 2} 1.261428{col 48}{space 1}   -1.18{col 57}{space 3}0.242{col 65}{space 4}-3.983472{col 78}{space 3} 1.017267
{txt}{space 18}2009  {c |}{col 25}{res}{space 2} .3028601{col 37}{space 2} 1.263356{col 48}{space 1}    0.24{col 57}{space 3}0.811{col 65}{space 4} -2.20133{col 78}{space 3}  2.80705
{txt}{space 18}2010  {c |}{col 25}{res}{space 2} -.650292{col 37}{space 2} 1.338293{col 48}{space 1}   -0.49{col 57}{space 3}0.628{col 65}{space 4} -3.30302{col 78}{space 3} 2.002436
{txt}{space 18}2011  {c |}{col 25}{res}{space 2} -1.06906{col 37}{space 2} 1.499659{col 48}{space 1}   -0.71{col 57}{space 3}0.477{col 65}{space 4}-4.041644{col 78}{space 3} 1.903524
{txt}{space 18}2012  {c |}{col 25}{res}{space 2}-.8526205{col 37}{space 2} 1.563236{col 48}{space 1}   -0.55{col 57}{space 3}0.587{col 65}{space 4}-3.951225{col 78}{space 3} 2.245984
{txt}{space 18}2013  {c |}{col 25}{res}{space 2}-1.269976{col 37}{space 2} 1.635512{col 48}{space 1}   -0.78{col 57}{space 3}0.439{col 65}{space 4}-4.511845{col 78}{space 3} 1.971894
{txt}{space 18}2014  {c |}{col 25}{res}{space 2}-2.077607{col 37}{space 2} 1.730221{col 48}{space 1}   -1.20{col 57}{space 3}0.232{col 65}{space 4}-5.507205{col 78}{space 3} 1.351991
{txt}{space 18}2015  {c |}{col 25}{res}{space 2}-1.866677{col 37}{space 2} 1.810656{col 48}{space 1}   -1.03{col 57}{space 3}0.305{col 65}{space 4}-5.455712{col 78}{space 3} 1.722357
{txt}{space 18}2016  {c |}{col 25}{res}{space 2}-1.614739{col 37}{space 2} 1.884098{col 48}{space 1}   -0.86{col 57}{space 3}0.393{col 65}{space 4}-5.349347{col 78}{space 3}  2.11987
{txt}{space 18}2017  {c |}{col 25}{res}{space 2}-1.647573{col 37}{space 2} 1.960564{col 48}{space 1}   -0.84{col 57}{space 3}0.403{col 65}{space 4}-5.533751{col 78}{space 3} 2.238605
{txt}{space 23} {c |}
{space 18}_cons {c |}{col 25}{res}{space 2}-108.4579{col 37}{space 2} 102.9602{col 48}{space 1}   -1.05{col 57}{space 3}0.295{col 65}{space 4}-312.5429{col 78}{space 3} 95.62712
{txt}{hline 24}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
                sigma_u {c |} {res} 10.265638
                {txt}sigma_e {c |} {res}  1.025036
                    {txt}rho {c |} {res} .99012817{txt}   (fraction of variance due to u_i)
{hline 24}{c BT}{hline 64}
F test that all u_i=0: F({res}17{txt}, {res}108{txt}) = {res}4.49{col 62}{txt}Prob > F = {res}0.0000
{txt}({res}est1{txt} stored)

{com}. eststo: xtreg OFa_all_pop_ln L1.OFa_all_pop_ln  c.protestL1##c.polity2L1  lngdppc lngdp c.protestL1##c.NaturalResources  urban_pop electricity FDI_inflow tradeopenness  i.year   , fe
{p 0 6 2}{txt}note: protestL1 omitted because of collinearity{p_end}
{res}
{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}       154
{txt}Group variable: {res}cowcode{txt}{col 49}Number of groups{col 67}={col 69}{res}        18

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.3289{col 63}{txt}min{col 67}={col 69}{res}         3
{txt}     between = {res}0.3137{col 63}{txt}avg{col 67}={col 69}{res}       8.6
{txt}     overall = {res}0.1218{col 63}{txt}max{col 67}={col 69}{res}        13

{txt}{col 49}F({res}28{txt},{res}108{txt}){col 67}={col 70}{res}     1.89
{txt}corr(u_i, Xb){col 16}= {res}-0.9815{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0108

{txt}{hline 31}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}                OFa_all_pop_ln{col 32}{c |}      Coef.{col 44}   Std. Err.{col 56}      t{col 64}   P>|t|{col 72}     [95% Con{col 85}f. Interval]
{hline 31}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 16}OFa_all_pop_ln {c |}
{space 27}L1. {c |}{col 32}{res}{space 2}-.0627936{col 44}{space 2} .0975064{col 55}{space 1}   -0.64{col 64}{space 3}0.521{col 72}{space 4}-.2560682{col 85}{space 3}  .130481
{txt}{space 30} {c |}
{space 21}protestL1 {c |}{col 32}{res}{space 2} .0228124{col 44}{space 2} .0136697{col 55}{space 1}    1.67{col 64}{space 3}0.098{col 72}{space 4}-.0042833{col 85}{space 3} .0499082
{txt}{space 21}polity2L1 {c |}{col 32}{res}{space 2} .0799531{col 44}{space 2} .0469098{col 55}{space 1}    1.70{col 64}{space 3}0.091{col 72}{space 4}-.0130303{col 85}{space 3} .1729364
{txt}{space 30} {c |}
{space 7}c.protestL1#c.polity2L1 {c |}{col 32}{res}{space 2}-.0037337{col 44}{space 2} .0016971{col 55}{space 1}   -2.20{col 64}{space 3}0.030{col 72}{space 4}-.0070976{col 85}{space 3}-.0003698
{txt}{space 30} {c |}
{space 23}lngdppc {c |}{col 32}{res}{space 2} -1.28112{col 44}{space 2} 6.148859{col 55}{space 1}   -0.21{col 64}{space 3}0.835{col 72}{space 4}-13.46923{col 85}{space 3} 10.90699
{txt}{space 25}lngdp {c |}{col 32}{res}{space 2} 3.325907{col 44}{space 2} 6.083155{col 55}{space 1}    0.55{col 64}{space 3}0.586{col 72}{space 4}-8.731962{col 85}{space 3} 15.38378
{txt}{space 21}protestL1 {c |}{col 32}{res}{space 2}        0{col 44}{txt}  (omitted)
{space 14}NaturalResources {c |}{col 32}{res}{space 2}-.0854249{col 44}{space 2} .0409452{col 55}{space 1}   -2.09{col 64}{space 3}0.039{col 72}{space 4}-.1665854{col 85}{space 3}-.0042644
{txt}{space 30} {c |}
c.protestL1#c.NaturalResources {c |}{col 32}{res}{space 2} .0008012{col 44}{space 2} .0015825{col 55}{space 1}    0.51{col 64}{space 3}0.614{col 72}{space 4}-.0023356{col 85}{space 3} .0039381
{txt}{space 30} {c |}
{space 21}urban_pop {c |}{col 32}{res}{space 2} .1520558{col 44}{space 2} .1102176{col 55}{space 1}    1.38{col 64}{space 3}0.171{col 72}{space 4}-.0664145{col 85}{space 3} .3705261
{txt}{space 19}electricity {c |}{col 32}{res}{space 2}-.0365645{col 44}{space 2} .0188246{col 55}{space 1}   -1.94{col 64}{space 3}0.055{col 72}{space 4} -.073878{col 85}{space 3} .0007491
{txt}{space 20}FDI_inflow {c |}{col 32}{res}{space 2} .0169586{col 44}{space 2} .0213074{col 55}{space 1}    0.80{col 64}{space 3}0.428{col 72}{space 4}-.0252763{col 85}{space 3} .0591935
{txt}{space 17}tradeopenness {c |}{col 32}{res}{space 2} .0177349{col 44}{space 2} .0123253{col 55}{space 1}    1.44{col 64}{space 3}0.153{col 72}{space 4} -.006696{col 85}{space 3} .0421657
{txt}{space 30} {c |}
{space 26}year {c |}
{space 25}2002  {c |}{col 32}{res}{space 2} .6453276{col 44}{space 2} 1.288443{col 55}{space 1}    0.50{col 64}{space 3}0.617{col 72}{space 4} -1.90859{col 85}{space 3} 3.199245
{txt}{space 25}2003  {c |}{col 32}{res}{space 2} 1.149691{col 44}{space 2} 1.224726{col 55}{space 1}    0.94{col 64}{space 3}0.350{col 72}{space 4}-1.277927{col 85}{space 3}  3.57731
{txt}{space 25}2004  {c |}{col 32}{res}{space 2} 1.498562{col 44}{space 2} 1.418535{col 55}{space 1}    1.06{col 64}{space 3}0.293{col 72}{space 4} -1.31322{col 85}{space 3} 4.310345
{txt}{space 25}2005  {c |}{col 32}{res}{space 2}  1.24169{col 44}{space 2} 1.528657{col 55}{space 1}    0.81{col 64}{space 3}0.418{col 72}{space 4}-1.788374{col 85}{space 3} 4.271755
{txt}{space 25}2006  {c |}{col 32}{res}{space 2} .8884169{col 44}{space 2} 1.302175{col 55}{space 1}    0.68{col 64}{space 3}0.497{col 72}{space 4} -1.69272{col 85}{space 3} 3.469554
{txt}{space 25}2007  {c |}{col 32}{res}{space 2}-.7722503{col 44}{space 2} 1.138706{col 55}{space 1}   -0.68{col 64}{space 3}0.499{col 72}{space 4}-3.029363{col 85}{space 3} 1.484862
{txt}{space 25}2008  {c |}{col 32}{res}{space 2} -.921293{col 44}{space 2} 1.300741{col 55}{space 1}   -0.71{col 64}{space 3}0.480{col 72}{space 4}-3.499587{col 85}{space 3} 1.657001
{txt}{space 25}2009  {c |}{col 32}{res}{space 2} .4752433{col 44}{space 2} 1.315699{col 55}{space 1}    0.36{col 64}{space 3}0.719{col 72}{space 4}-2.132701{col 85}{space 3} 3.083188
{txt}{space 25}2010  {c |}{col 32}{res}{space 2}   -.2065{col 44}{space 2} 1.386861{col 55}{space 1}   -0.15{col 64}{space 3}0.882{col 72}{space 4}-2.955499{col 85}{space 3} 2.542499
{txt}{space 25}2011  {c |}{col 32}{res}{space 2}-.4982532{col 44}{space 2} 1.550909{col 55}{space 1}   -0.32{col 64}{space 3}0.749{col 72}{space 4}-3.572425{col 85}{space 3} 2.575918
{txt}{space 25}2012  {c |}{col 32}{res}{space 2}-.2087956{col 44}{space 2} 1.614493{col 55}{space 1}   -0.13{col 64}{space 3}0.897{col 72}{space 4}   -3.409{col 85}{space 3} 2.991409
{txt}{space 25}2013  {c |}{col 32}{res}{space 2}-.6515993{col 44}{space 2} 1.691736{col 55}{space 1}   -0.39{col 64}{space 3}0.701{col 72}{space 4}-4.004914{col 85}{space 3} 2.701715
{txt}{space 25}2014  {c |}{col 32}{res}{space 2}-1.381868{col 44}{space 2} 1.787726{col 55}{space 1}   -0.77{col 64}{space 3}0.441{col 72}{space 4}-4.925451{col 85}{space 3} 2.161715
{txt}{space 25}2015  {c |}{col 32}{res}{space 2}-.9885714{col 44}{space 2} 1.863369{col 55}{space 1}   -0.53{col 64}{space 3}0.597{col 72}{space 4}-4.682093{col 85}{space 3}  2.70495
{txt}{space 25}2016  {c |}{col 32}{res}{space 2}-.6688611{col 44}{space 2}  1.93705{col 55}{space 1}   -0.35{col 64}{space 3}0.731{col 72}{space 4} -4.50843{col 85}{space 3} 3.170708
{txt}{space 25}2017  {c |}{col 32}{res}{space 2}-.7006277{col 44}{space 2} 2.018442{col 55}{space 1}   -0.35{col 64}{space 3}0.729{col 72}{space 4} -4.70153{col 85}{space 3} 3.300275
{txt}{space 30} {c |}
{space 25}_cons {c |}{col 32}{res}{space 2}-74.32269{col 44}{space 2}  106.823{col 55}{space 1}   -0.70{col 64}{space 3}0.488{col 72}{space 4}-286.0645{col 85}{space 3} 137.4191
{txt}{hline 31}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
                       sigma_u {c |} {res}  7.223541
                       {txt}sigma_e {c |} {res}  1.068361
                           {txt}rho {c |} {res} .97859386{txt}   (fraction of variance due to u_i)
{hline 31}{c BT}{hline 64}
F test that all u_i=0: F({res}17{txt}, {res}108{txt}) = {res}3.90{col 62}{txt}Prob > F = {res}0.0000
{txt}({res}est2{txt} stored)

{com}. eststo: xtreg OFa_all_pop_ln L1.OFa_all_pop_ln  c.protestL1##c.polity2L1  lngdppc lngdp NaturalResources  urban_pop electricity c.protestL1##c.FDI_inflow tradeopenness   i.year   , fe
{p 0 6 2}{txt}note: protestL1 omitted because of collinearity{p_end}
{res}
{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}       154
{txt}Group variable: {res}cowcode{txt}{col 49}Number of groups{col 67}={col 69}{res}        18

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.3290{col 63}{txt}min{col 67}={col 69}{res}         3
{txt}     between = {res}0.3251{col 63}{txt}avg{col 67}={col 69}{res}       8.6
{txt}     overall = {res}0.1267{col 63}{txt}max{col 67}={col 69}{res}        13

{txt}{col 49}F({res}28{txt},{res}108{txt}){col 67}={col 70}{res}     1.89
{txt}corr(u_i, Xb){col 16}= {res}-0.9815{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0107

{txt}{hline 25}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}          OFa_all_pop_ln{col 26}{c |}      Coef.{col 38}   Std. Err.{col 50}      t{col 58}   P>|t|{col 66}     [95% Con{col 79}f. Interval]
{hline 25}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 10}OFa_all_pop_ln {c |}
{space 21}L1. {c |}{col 26}{res}{space 2}-.0584064{col 38}{space 2}  .097495{col 49}{space 1}   -0.60{col 58}{space 3}0.550{col 66}{space 4}-.2516584{col 79}{space 3} .1348457
{txt}{space 24} {c |}
{space 15}protestL1 {c |}{col 26}{res}{space 2} .0263011{col 38}{space 2} .0128175{col 49}{space 1}    2.05{col 58}{space 3}0.043{col 66}{space 4} .0008947{col 79}{space 3} .0517076
{txt}{space 15}polity2L1 {c |}{col 26}{res}{space 2} .0798776{col 38}{space 2} .0469115{col 49}{space 1}    1.70{col 58}{space 3}0.091{col 66}{space 4}-.0131092{col 79}{space 3} .1728644
{txt}{space 24} {c |}
{space 1}c.protestL1#c.polity2L1 {c |}{col 26}{res}{space 2}-.0038974{col 38}{space 2} .0016524{col 49}{space 1}   -2.36{col 58}{space 3}0.020{col 66}{space 4}-.0071727{col 79}{space 3}-.0006221
{txt}{space 24} {c |}
{space 17}lngdppc {c |}{col 26}{res}{space 2}-1.400689{col 38}{space 2} 6.140987{col 49}{space 1}   -0.23{col 58}{space 3}0.820{col 66}{space 4}-13.57319{col 79}{space 3} 10.77181
{txt}{space 19}lngdp {c |}{col 26}{res}{space 2}  3.36464{col 38}{space 2} 6.080327{col 49}{space 1}    0.55{col 58}{space 3}0.581{col 66}{space 4}-8.687624{col 79}{space 3}  15.4169
{txt}{space 8}NaturalResources {c |}{col 26}{res}{space 2}-.0893785{col 38}{space 2} .0417622{col 49}{space 1}   -2.14{col 58}{space 3}0.035{col 66}{space 4}-.1721585{col 79}{space 3}-.0065986
{txt}{space 15}urban_pop {c |}{col 26}{res}{space 2} .1512807{col 38}{space 2} .1102901{col 49}{space 1}    1.37{col 58}{space 3}0.173{col 66}{space 4}-.0673334{col 79}{space 3} .3698947
{txt}{space 13}electricity {c |}{col 26}{res}{space 2}-.0359791{col 38}{space 2} .0188667{col 49}{space 1}   -1.91{col 58}{space 3}0.059{col 66}{space 4}-.0733762{col 79}{space 3} .0014181
{txt}{space 15}protestL1 {c |}{col 26}{res}{space 2}        0{col 38}{txt}  (omitted)
{space 14}FDI_inflow {c |}{col 26}{res}{space 2} .0264385{col 38}{space 2} .0295897{col 49}{space 1}    0.89{col 58}{space 3}0.374{col 66}{space 4}-.0322135{col 79}{space 3} .0850904
{txt}{space 24} {c |}
c.protestL1#c.FDI_inflow {c |}{col 26}{res}{space 2}-.0007023{col 38}{space 2} .0013538{col 49}{space 1}   -0.52{col 58}{space 3}0.605{col 66}{space 4}-.0033859{col 79}{space 3} .0019812
{txt}{space 24} {c |}
{space 11}tradeopenness {c |}{col 26}{res}{space 2} .0188532{col 38}{space 2} .0122487{col 49}{space 1}    1.54{col 58}{space 3}0.127{col 66}{space 4}-.0054258{col 79}{space 3} .0431323
{txt}{space 24} {c |}
{space 20}year {c |}
{space 19}2002  {c |}{col 26}{res}{space 2} .6791077{col 38}{space 2} 1.289825{col 49}{space 1}    0.53{col 58}{space 3}0.600{col 66}{space 4}-1.877548{col 79}{space 3} 3.235764
{txt}{space 19}2003  {c |}{col 26}{res}{space 2} 1.158823{col 38}{space 2} 1.224558{col 49}{space 1}    0.95{col 58}{space 3}0.346{col 66}{space 4}-1.268463{col 79}{space 3}  3.58611
{txt}{space 19}2004  {c |}{col 26}{res}{space 2} 1.455556{col 38}{space 2} 1.420463{col 49}{space 1}    1.02{col 58}{space 3}0.308{col 66}{space 4}-1.360049{col 79}{space 3}  4.27116
{txt}{space 19}2005  {c |}{col 26}{res}{space 2} 1.288944{col 38}{space 2} 1.526152{col 49}{space 1}    0.84{col 58}{space 3}0.400{col 66}{space 4}-1.736153{col 79}{space 3} 4.314042
{txt}{space 19}2006  {c |}{col 26}{res}{space 2} .9071345{col 38}{space 2} 1.301353{col 49}{space 1}    0.70{col 58}{space 3}0.487{col 66}{space 4}-1.672374{col 79}{space 3} 3.486643
{txt}{space 19}2007  {c |}{col 26}{res}{space 2}-.7600604{col 38}{space 2} 1.138514{col 49}{space 1}   -0.67{col 58}{space 3}0.506{col 66}{space 4}-3.016793{col 79}{space 3} 1.496672
{txt}{space 19}2008  {c |}{col 26}{res}{space 2}-.8914416{col 38}{space 2} 1.301039{col 49}{space 1}   -0.69{col 58}{space 3}0.495{col 66}{space 4}-3.470326{col 79}{space 3} 1.687443
{txt}{space 19}2009  {c |}{col 26}{res}{space 2} .5051029{col 38}{space 2} 1.315286{col 49}{space 1}    0.38{col 58}{space 3}0.702{col 66}{space 4}-2.102022{col 79}{space 3} 3.112227
{txt}{space 19}2010  {c |}{col 26}{res}{space 2}-.1555639{col 38}{space 2} 1.386537{col 49}{space 1}   -0.11{col 58}{space 3}0.911{col 66}{space 4}-2.903921{col 79}{space 3} 2.592794
{txt}{space 19}2011  {c |}{col 26}{res}{space 2}-.4523495{col 38}{space 2}  1.55068{col 49}{space 1}   -0.29{col 58}{space 3}0.771{col 66}{space 4}-3.526066{col 79}{space 3} 2.621367
{txt}{space 19}2012  {c |}{col 26}{res}{space 2}-.1531103{col 38}{space 2} 1.614436{col 49}{space 1}   -0.09{col 58}{space 3}0.925{col 66}{space 4}-3.353202{col 79}{space 3} 3.046982
{txt}{space 19}2013  {c |}{col 26}{res}{space 2} -.598191{col 38}{space 2} 1.690915{col 49}{space 1}   -0.35{col 58}{space 3}0.724{col 66}{space 4}-3.949878{col 79}{space 3} 2.753496
{txt}{space 19}2014  {c |}{col 26}{res}{space 2}-1.327099{col 38}{space 2}  1.78936{col 49}{space 1}   -0.74{col 58}{space 3}0.460{col 66}{space 4}-4.873921{col 79}{space 3} 2.219722
{txt}{space 19}2015  {c |}{col 26}{res}{space 2}-.9266541{col 38}{space 2} 1.865279{col 49}{space 1}   -0.50{col 58}{space 3}0.620{col 66}{space 4}-4.623961{col 79}{space 3} 2.770653
{txt}{space 19}2016  {c |}{col 26}{res}{space 2}-.6104898{col 38}{space 2}  1.93777{col 49}{space 1}   -0.32{col 58}{space 3}0.753{col 66}{space 4}-4.451487{col 79}{space 3} 3.230507
{txt}{space 19}2017  {c |}{col 26}{res}{space 2}-.5686197{col 38}{space 2} 2.020517{col 49}{space 1}   -0.28{col 58}{space 3}0.779{col 66}{space 4}-4.573634{col 79}{space 3} 3.436395
{txt}{space 24} {c |}
{space 19}_cons {c |}{col 26}{res}{space 2}-74.53254{col 38}{space 2} 106.8011{col 49}{space 1}   -0.70{col 58}{space 3}0.487{col 66}{space 4}-286.2308{col 79}{space 3} 137.1657
{txt}{hline 25}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
                 sigma_u {c |} {res} 7.1939164
                 {txt}sigma_e {c |} {res} 1.0682979
                     {txt}rho {c |} {res} .97842351{txt}   (fraction of variance due to u_i)
{hline 25}{c BT}{hline 64}
F test that all u_i=0: F({res}17{txt}, {res}108{txt}) = {res}3.99{col 62}{txt}Prob > F = {res}0.0000
{txt}({res}est3{txt} stored)

{com}. eststo: xtreg OFa_all_pop_ln L1.OFa_all_pop_ln  c.protestL1##c.polity2L1  lngdppc lngdp NaturalResources c.protestL1##c.chinese_ofdi_inflow_gdp urban_pop electricity FDI_inflow tradeopenness  i.year   , fe
{p 0 6 2}{txt}note: protestL1 omitted because of collinearity{p_end}
{res}
{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}       150
{txt}Group variable: {res}cowcode{txt}{col 49}Number of groups{col 67}={col 69}{res}        18

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.3580{col 63}{txt}min{col 67}={col 69}{res}         3
{txt}     between = {res}0.2099{col 63}{txt}avg{col 67}={col 69}{res}       8.3
{txt}     overall = {res}0.0677{col 63}{txt}max{col 67}={col 69}{res}        13

{txt}{col 49}F({res}27{txt},{res}105{txt}){col 67}={col 70}{res}     2.17
{txt}corr(u_i, Xb){col 16}= {res}-0.9683{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0028

{txt}{hline 38}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}                       OFa_all_pop_ln{col 39}{c |}      Coef.{col 51}   Std. Err.{col 63}      t{col 71}   P>|t|{col 79}     [95% Con{col 92}f. Interval]
{hline 38}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 23}OFa_all_pop_ln {c |}
{space 34}L1. {c |}{col 39}{res}{space 2}-.1165855{col 51}{space 2} .0979559{col 62}{space 1}   -1.19{col 71}{space 3}0.237{col 79}{space 4} -.310814{col 92}{space 3}  .077643
{txt}{space 37} {c |}
{space 28}protestL1 {c |}{col 39}{res}{space 2}  .014625{col 51}{space 2} .0138037{col 62}{space 1}    1.06{col 71}{space 3}0.292{col 79}{space 4}-.0127453{col 92}{space 3} .0419952
{txt}{space 28}polity2L1 {c |}{col 39}{res}{space 2}  .079044{col 51}{space 2} .0471381{col 62}{space 1}    1.68{col 71}{space 3}0.097{col 79}{space 4}-.0144221{col 92}{space 3}   .17251
{txt}{space 37} {c |}
{space 14}c.protestL1#c.polity2L1 {c |}{col 39}{res}{space 2}-.0026164{col 51}{space 2} .0017531{col 62}{space 1}   -1.49{col 71}{space 3}0.139{col 79}{space 4}-.0060924{col 92}{space 3} .0008595
{txt}{space 37} {c |}
{space 30}lngdppc {c |}{col 39}{res}{space 2}-.0164938{col 51}{space 2}  6.21149{col 62}{space 1}   -0.00{col 71}{space 3}0.998{col 79}{space 4}-12.33273{col 92}{space 3} 12.29974
{txt}{space 32}lngdp {c |}{col 39}{res}{space 2} 2.406228{col 51}{space 2} 6.197452{col 62}{space 1}    0.39{col 71}{space 3}0.699{col 79}{space 4}-9.882175{col 92}{space 3} 14.69463
{txt}{space 21}NaturalResources {c |}{col 39}{res}{space 2}-.0944531{col 51}{space 2} .0419107{col 62}{space 1}   -2.25{col 71}{space 3}0.026{col 79}{space 4}-.1775544{col 92}{space 3}-.0113518
{txt}{space 28}protestL1 {c |}{col 39}{res}{space 2}        0{col 51}{txt}  (omitted)
{space 14}chinese_ofdi_inflow_gdp {c |}{col 39}{res}{space 2} .1561374{col 51}{space 2} .1527604{col 62}{space 1}    1.02{col 71}{space 3}0.309{col 79}{space 4}-.1467582{col 92}{space 3}  .459033
{txt}{space 37} {c |}
c.protestL1#c.chinese_ofdi_inflow_gdp {c |}{col 39}{res}{space 2} .0226848{col 51}{space 2} .0131309{col 62}{space 1}    1.73{col 71}{space 3}0.087{col 79}{space 4}-.0033515{col 92}{space 3}  .048721
{txt}{space 37} {c |}
{space 28}urban_pop {c |}{col 39}{res}{space 2} .1518374{col 51}{space 2}  .109818{col 62}{space 1}    1.38{col 71}{space 3}0.170{col 79}{space 4}-.0659113{col 92}{space 3} .3695862
{txt}{space 26}electricity {c |}{col 39}{res}{space 2}-.0404877{col 51}{space 2} .0190475{col 62}{space 1}   -2.13{col 71}{space 3}0.036{col 79}{space 4}-.0782554{col 92}{space 3}-.0027199
{txt}{space 27}FDI_inflow {c |}{col 39}{res}{space 2} .0092434{col 51}{space 2} .0211981{col 62}{space 1}    0.44{col 71}{space 3}0.664{col 79}{space 4}-.0327884{col 92}{space 3} .0512753
{txt}{space 24}tradeopenness {c |}{col 39}{res}{space 2}  .017302{col 51}{space 2} .0123521{col 62}{space 1}    1.40{col 71}{space 3}0.164{col 79}{space 4}-.0071899{col 92}{space 3} .0417939
{txt}{space 37} {c |}
{space 33}year {c |}
{space 32}2004  {c |}{col 39}{res}{space 2} .3304473{col 51}{space 2} 1.505556{col 62}{space 1}    0.22{col 71}{space 3}0.827{col 79}{space 4}-2.654792{col 92}{space 3} 3.315687
{txt}{space 32}2005  {c |}{col 39}{res}{space 2}-.1314366{col 51}{space 2} 1.317299{col 62}{space 1}   -0.10{col 71}{space 3}0.921{col 79}{space 4}-2.743397{col 92}{space 3} 2.480523
{txt}{space 32}2006  {c |}{col 39}{res}{space 2}-.3939096{col 51}{space 2} 1.156814{col 62}{space 1}   -0.34{col 71}{space 3}0.734{col 79}{space 4}-2.687659{col 92}{space 3}  1.89984
{txt}{space 32}2007  {c |}{col 39}{res}{space 2}-2.039886{col 51}{space 2} 1.132907{col 62}{space 1}   -1.80{col 71}{space 3}0.075{col 79}{space 4}-4.286231{col 92}{space 3} .2064595
{txt}{space 32}2008  {c |}{col 39}{res}{space 2}-2.238109{col 51}{space 2} 1.281527{col 62}{space 1}   -1.75{col 71}{space 3}0.084{col 79}{space 4} -4.77914{col 92}{space 3} .3029214
{txt}{space 32}2009  {c |}{col 39}{res}{space 2} -.892537{col 51}{space 2} 1.271016{col 62}{space 1}   -0.70{col 71}{space 3}0.484{col 79}{space 4}-3.412728{col 92}{space 3} 1.627654
{txt}{space 32}2010  {c |}{col 39}{res}{space 2}-1.631747{col 51}{space 2} 1.382226{col 62}{space 1}   -1.18{col 71}{space 3}0.240{col 79}{space 4}-4.372446{col 92}{space 3} 1.108952
{txt}{space 32}2011  {c |}{col 39}{res}{space 2}-1.946757{col 51}{space 2} 1.568058{col 62}{space 1}   -1.24{col 71}{space 3}0.217{col 79}{space 4}-5.055925{col 92}{space 3} 1.162412
{txt}{space 32}2012  {c |}{col 39}{res}{space 2}-1.722674{col 51}{space 2} 1.648094{col 62}{space 1}   -1.05{col 71}{space 3}0.298{col 79}{space 4}-4.990541{col 92}{space 3} 1.545193
{txt}{space 32}2013  {c |}{col 39}{res}{space 2}-2.069228{col 51}{space 2} 1.727189{col 62}{space 1}   -1.20{col 71}{space 3}0.234{col 79}{space 4}-5.493924{col 92}{space 3} 1.355468
{txt}{space 32}2014  {c |}{col 39}{res}{space 2}-2.841044{col 51}{space 2} 1.812646{col 62}{space 1}   -1.57{col 71}{space 3}0.120{col 79}{space 4}-6.435186{col 92}{space 3} .7530974
{txt}{space 32}2015  {c |}{col 39}{res}{space 2}-2.389104{col 51}{space 2} 1.843784{col 62}{space 1}   -1.30{col 71}{space 3}0.198{col 79}{space 4}-6.044988{col 92}{space 3}  1.26678
{txt}{space 32}2016  {c |}{col 39}{res}{space 2}-2.166988{col 51}{space 2} 1.924817{col 62}{space 1}   -1.13{col 71}{space 3}0.263{col 79}{space 4}-5.983545{col 92}{space 3}  1.64957
{txt}{space 32}2017  {c |}{col 39}{res}{space 2}-2.118701{col 51}{space 2} 1.995672{col 62}{space 1}   -1.06{col 71}{space 3}0.291{col 79}{space 4} -6.07575{col 92}{space 3} 1.838347
{txt}{space 37} {c |}
{space 32}_cons {c |}{col 39}{res}{space 2}-59.13319{col 51}{space 2} 109.2928{col 62}{space 1}   -0.54{col 71}{space 3}0.590{col 79}{space 4}-275.8406{col 92}{space 3} 157.5743
{txt}{hline 38}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
                              sigma_u {c |} {res} 5.9504298
                              {txt}sigma_e {c |} {res} 1.0360637
                                  {txt}rho {c |} {res} .97057573{txt}   (fraction of variance due to u_i)
{hline 38}{c BT}{hline 64}
F test that all u_i=0: F({res}17{txt}, {res}105{txt}) = {res}3.78{col 62}{txt}Prob > F = {res}0.0000
{txt}({res}est4{txt} stored)

{com}. 
{txt}end of do-file

{com}. do "C:\Users\yujeo\AppData\Local\Temp\STD01000000.tmp"
{txt}
{com}. *Table A7: Anti-China Protests (in log) and Polity on Elite Visits
. gen lnprotest=ln(protest+1)
{txt}(244 missing values generated)

{com}. gen lnprotestL1=L1.lnprotest
{txt}(264 missing values generated)

{com}. eststo clear
{txt}
{com}. 
{txt}end of do-file

{com}. do "C:\Users\yujeo\AppData\Local\Temp\STD01000000.tmp"
{txt}
{com}. eststo: xtnbreg government_visits L1.government_visits  c.lnprotestL1##c.polity2L1   i.year  , fe
{txt}note: 1 group (4 obs) dropped because of all zero outcomes
{res}
{txt}Iteration 0:{space 3}log likelihood = {res:-424.44002}  
Iteration 1:{space 3}log likelihood = {res: -415.6669}  
Iteration 2:{space 3}log likelihood = {res:-415.02834}  
Iteration 3:{space 3}log likelihood = {res:-415.02645}  
Iteration 4:{space 3}log likelihood = {res:-415.02645}  
{res}
{txt}Conditional FE negative binomial regression{col 49}Number of obs{col 67}={col 69}{res}       188
{txt}Group variable: {res}cowcode{col 49}{txt}Number of groups{col 67}={col 69}{res}        22

{txt}{col 49}Obs per group:
{col 63}min{col 67}={col 69}{res}         2
{txt}{col 63}avg{col 67}={col 69}{res}       8.5
{txt}{col 63}max{col 67}={col 69}{res}        16

{txt}{col 49}Wald chi2({res}20{txt}){col 67}={col 70}{res}    60.72
{txt}Log likelihood  = {res}-415.02645{col 49}{txt}Prob > chi2{col 67}={res}{col 73}0.0000

{txt}{hline 26}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}        government_visits{col 27}{c |}      Coef.{col 39}   Std. Err.{col 51}      z{col 59}   P>|z|{col 67}     [95% Con{col 80}f. Interval]
{hline 26}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 8}government_visits {c |}
{space 22}L1. {c |}{col 27}{res}{space 2} .0099611{col 39}{space 2} .0079504{col 50}{space 1}    1.25{col 59}{space 3}0.210{col 67}{space 4}-.0056214{col 80}{space 3} .0255436
{txt}{space 25} {c |}
{space 14}lnprotestL1 {c |}{col 27}{res}{space 2} .0915292{col 39}{space 2} .0437782{col 50}{space 1}    2.09{col 59}{space 3}0.037{col 67}{space 4} .0057255{col 80}{space 3} .1773328
{txt}{space 16}polity2L1 {c |}{col 27}{res}{space 2}  .023513{col 39}{space 2} .0154885{col 50}{space 1}    1.52{col 59}{space 3}0.129{col 67}{space 4} -.006844{col 80}{space 3}   .05387
{txt}{space 25} {c |}
c.lnprotestL1#c.polity2L1 {c |}{col 27}{res}{space 2}-.0112151{col 39}{space 2} .0044663{col 50}{space 1}   -2.51{col 59}{space 3}0.012{col 67}{space 4}-.0199688{col 80}{space 3}-.0024613
{txt}{space 25} {c |}
{space 21}year {c |}
{space 20}2002  {c |}{col 27}{res}{space 2}-1.195691{col 39}{space 2}  .253683{col 50}{space 1}   -4.71{col 59}{space 3}0.000{col 67}{space 4}-1.692901{col 80}{space 3}-.6984814
{txt}{space 20}2003  {c |}{col 27}{res}{space 2} -.512202{col 39}{space 2} .2295279{col 50}{space 1}   -2.23{col 59}{space 3}0.026{col 67}{space 4}-.9620684{col 80}{space 3}-.0623355
{txt}{space 20}2004  {c |}{col 27}{res}{space 2}-.5135767{col 39}{space 2}  .218499{col 50}{space 1}   -2.35{col 59}{space 3}0.019{col 67}{space 4}-.9418268{col 80}{space 3}-.0853266
{txt}{space 20}2005  {c |}{col 27}{res}{space 2}-.3388566{col 39}{space 2} .2400161{col 50}{space 1}   -1.41{col 59}{space 3}0.158{col 67}{space 4}-.8092796{col 80}{space 3} .1315664
{txt}{space 20}2006  {c |}{col 27}{res}{space 2}-.2543863{col 39}{space 2} .2255133{col 50}{space 1}   -1.13{col 59}{space 3}0.259{col 67}{space 4}-.6963843{col 80}{space 3} .1876118
{txt}{space 20}2007  {c |}{col 27}{res}{space 2}-.5085444{col 39}{space 2} .1744078{col 50}{space 1}   -2.92{col 59}{space 3}0.004{col 67}{space 4}-.8503775{col 80}{space 3}-.1667114
{txt}{space 20}2008  {c |}{col 27}{res}{space 2} -.518288{col 39}{space 2} .1853764{col 50}{space 1}   -2.80{col 59}{space 3}0.005{col 67}{space 4}-.8816192{col 80}{space 3}-.1549568
{txt}{space 20}2009  {c |}{col 27}{res}{space 2}-.5445681{col 39}{space 2} .1782278{col 50}{space 1}   -3.06{col 59}{space 3}0.002{col 67}{space 4}-.8938883{col 80}{space 3}-.1952479
{txt}{space 20}2010  {c |}{col 27}{res}{space 2}-.6733185{col 39}{space 2} .1803548{col 50}{space 1}   -3.73{col 59}{space 3}0.000{col 67}{space 4}-1.026807{col 80}{space 3}-.3198296
{txt}{space 20}2011  {c |}{col 27}{res}{space 2}-.8021723{col 39}{space 2} .1794941{col 50}{space 1}   -4.47{col 59}{space 3}0.000{col 67}{space 4}-1.153974{col 80}{space 3}-.4503702
{txt}{space 20}2012  {c |}{col 27}{res}{space 2}-.7138444{col 39}{space 2} .1848173{col 50}{space 1}   -3.86{col 59}{space 3}0.000{col 67}{space 4} -1.07608{col 80}{space 3}-.3516091
{txt}{space 20}2013  {c |}{col 27}{res}{space 2} -.791811{col 39}{space 2} .1889415{col 50}{space 1}   -4.19{col 59}{space 3}0.000{col 67}{space 4}-1.162129{col 80}{space 3}-.4214925
{txt}{space 20}2014  {c |}{col 27}{res}{space 2}-.6444559{col 39}{space 2} .1908398{col 50}{space 1}   -3.38{col 59}{space 3}0.001{col 67}{space 4}-1.018495{col 80}{space 3}-.2704167
{txt}{space 20}2015  {c |}{col 27}{res}{space 2}  -.87177{col 39}{space 2} .1992056{col 50}{space 1}   -4.38{col 59}{space 3}0.000{col 67}{space 4}-1.262206{col 80}{space 3}-.4813342
{txt}{space 20}2016  {c |}{col 27}{res}{space 2} -.862897{col 39}{space 2} .2303171{col 50}{space 1}   -3.75{col 59}{space 3}0.000{col 67}{space 4} -1.31431{col 80}{space 3}-.4114838
{txt}{space 20}2017  {c |}{col 27}{res}{space 2} -.799814{col 39}{space 2} .2399902{col 50}{space 1}   -3.33{col 59}{space 3}0.001{col 67}{space 4}-1.270186{col 80}{space 3}-.3294418
{txt}{space 25} {c |}
{space 20}_cons {c |}{col 27}{res}{space 2} 3.384998{col 39}{space 2} .4000018{col 50}{space 1}    8.46{col 59}{space 3}0.000{col 67}{space 4} 2.601008{col 80}{space 3} 4.168987
{txt}{hline 26}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
({res}est1{txt} stored)

{com}. eststo: xtnbreg government_visits L1.government_visits   c.lnprotestL1##c.polity2L1  lngdppc lngdp NaturalResources  urban_pop electricity   i.year   , fe
{txt}note: 1 group (4 obs) dropped because of all zero outcomes
{res}
{txt}Iteration 0:{space 3}log likelihood = {res:-423.40573}  
Iteration 1:{space 3}log likelihood = {res:-410.31801}  
Iteration 2:{space 3}log likelihood = {res:-408.67759}  
Iteration 3:{space 3}log likelihood = {res:-408.56839}  
Iteration 4:{space 3}log likelihood = {res:-408.56708}  
Iteration 5:{space 3}log likelihood = {res:-408.56708}  
{res}
{txt}Conditional FE negative binomial regression{col 49}Number of obs{col 67}={col 69}{res}       188
{txt}Group variable: {res}cowcode{col 49}{txt}Number of groups{col 67}={col 69}{res}        22

{txt}{col 49}Obs per group:
{col 63}min{col 67}={col 69}{res}         2
{txt}{col 63}avg{col 67}={col 69}{res}       8.5
{txt}{col 63}max{col 67}={col 69}{res}        16

{txt}{col 49}Wald chi2({res}25{txt}){col 67}={col 70}{res}    73.00
{txt}Log likelihood  = {res}-408.56708{col 49}{txt}Prob > chi2{col 67}={res}{col 73}0.0000

{txt}{hline 26}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}        government_visits{col 27}{c |}      Coef.{col 39}   Std. Err.{col 51}      z{col 59}   P>|z|{col 67}     [95% Con{col 80}f. Interval]
{hline 26}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 8}government_visits {c |}
{space 22}L1. {c |}{col 27}{res}{space 2}   .00763{col 39}{space 2} .0084098{col 50}{space 1}    0.91{col 59}{space 3}0.364{col 67}{space 4}-.0088529{col 80}{space 3} .0241129
{txt}{space 25} {c |}
{space 14}lnprotestL1 {c |}{col 27}{res}{space 2} .0854128{col 39}{space 2} .0424405{col 50}{space 1}    2.01{col 59}{space 3}0.044{col 67}{space 4}  .002231{col 80}{space 3} .1685946
{txt}{space 16}polity2L1 {c |}{col 27}{res}{space 2} .0274174{col 39}{space 2} .0159068{col 50}{space 1}    1.72{col 59}{space 3}0.085{col 67}{space 4}-.0037593{col 80}{space 3}  .058594
{txt}{space 25} {c |}
c.lnprotestL1#c.polity2L1 {c |}{col 27}{res}{space 2}-.0150579{col 39}{space 2} .0045686{col 50}{space 1}   -3.30{col 59}{space 3}0.001{col 67}{space 4}-.0240122{col 80}{space 3}-.0061035
{txt}{space 25} {c |}
{space 18}lngdppc {c |}{col 27}{res}{space 2}-.2381837{col 39}{space 2} .3267069{col 50}{space 1}   -0.73{col 59}{space 3}0.466{col 67}{space 4}-.8785175{col 80}{space 3}   .40215
{txt}{space 20}lngdp {c |}{col 27}{res}{space 2}-.3675139{col 39}{space 2} .2765216{col 50}{space 1}   -1.33{col 59}{space 3}0.184{col 67}{space 4}-.9094862{col 80}{space 3} .1744584
{txt}{space 9}NaturalResources {c |}{col 27}{res}{space 2}  .011775{col 39}{space 2} .0108633{col 50}{space 1}    1.08{col 59}{space 3}0.278{col 67}{space 4}-.0095166{col 80}{space 3} .0330666
{txt}{space 16}urban_pop {c |}{col 27}{res}{space 2}-.0054614{col 39}{space 2} .0215439{col 50}{space 1}   -0.25{col 59}{space 3}0.800{col 67}{space 4}-.0476866{col 80}{space 3} .0367638
{txt}{space 14}electricity {c |}{col 27}{res}{space 2} .0052373{col 39}{space 2} .0049932{col 50}{space 1}    1.05{col 59}{space 3}0.294{col 67}{space 4}-.0045491{col 80}{space 3} .0150238
{txt}{space 25} {c |}
{space 21}year {c |}
{space 20}2002  {c |}{col 27}{res}{space 2}-1.128986{col 39}{space 2} .2727948{col 50}{space 1}   -4.14{col 59}{space 3}0.000{col 67}{space 4}-1.663654{col 80}{space 3}-.5943179
{txt}{space 20}2003  {c |}{col 27}{res}{space 2}-.4500967{col 39}{space 2} .2482255{col 50}{space 1}   -1.81{col 59}{space 3}0.070{col 67}{space 4}-.9366097{col 80}{space 3} .0364164
{txt}{space 20}2004  {c |}{col 27}{res}{space 2}-.3428053{col 39}{space 2} .2574502{col 50}{space 1}   -1.33{col 59}{space 3}0.183{col 67}{space 4}-.8473984{col 80}{space 3} .1617877
{txt}{space 20}2005  {c |}{col 27}{res}{space 2}-.1599794{col 39}{space 2} .2682679{col 50}{space 1}   -0.60{col 59}{space 3}0.551{col 67}{space 4}-.6857749{col 80}{space 3} .3658161
{txt}{space 20}2006  {c |}{col 27}{res}{space 2} .0431703{col 39}{space 2} .2568715{col 50}{space 1}    0.17{col 59}{space 3}0.867{col 67}{space 4}-.4602887{col 80}{space 3} .5466293
{txt}{space 20}2007  {c |}{col 27}{res}{space 2}-.0968943{col 39}{space 2} .2530334{col 50}{space 1}   -0.38{col 59}{space 3}0.702{col 67}{space 4}-.5928306{col 80}{space 3} .3990421
{txt}{space 20}2008  {c |}{col 27}{res}{space 2}-.0616314{col 39}{space 2} .2713543{col 50}{space 1}   -0.23{col 59}{space 3}0.820{col 67}{space 4} -.593476{col 80}{space 3} .4702132
{txt}{space 20}2009  {c |}{col 27}{res}{space 2}  -.00126{col 39}{space 2} .2788294{col 50}{space 1}   -0.00{col 59}{space 3}0.996{col 67}{space 4}-.5477555{col 80}{space 3} .5452356
{txt}{space 20}2010  {c |}{col 27}{res}{space 2}-.0023023{col 39}{space 2} .3043496{col 50}{space 1}   -0.01{col 59}{space 3}0.994{col 67}{space 4}-.5988165{col 80}{space 3} .5942119
{txt}{space 20}2011  {c |}{col 27}{res}{space 2}-.0848355{col 39}{space 2} .3350851{col 50}{space 1}   -0.25{col 59}{space 3}0.800{col 67}{space 4}-.7415902{col 80}{space 3} .5719193
{txt}{space 20}2012  {c |}{col 27}{res}{space 2} .0559291{col 39}{space 2} .3492606{col 50}{space 1}    0.16{col 59}{space 3}0.873{col 67}{space 4}-.6286091{col 80}{space 3} .7404673
{txt}{space 20}2013  {c |}{col 27}{res}{space 2} .0411123{col 39}{space 2} .3645774{col 50}{space 1}    0.11{col 59}{space 3}0.910{col 67}{space 4}-.6734462{col 80}{space 3} .7556707
{txt}{space 20}2014  {c |}{col 27}{res}{space 2} .2169586{col 39}{space 2} .3746219{col 50}{space 1}    0.58{col 59}{space 3}0.562{col 67}{space 4}-.5172869{col 80}{space 3} .9512041
{txt}{space 20}2015  {c |}{col 27}{res}{space 2} .0107279{col 39}{space 2} .3816634{col 50}{space 1}    0.03{col 59}{space 3}0.978{col 67}{space 4}-.7373187{col 80}{space 3} .7587744
{txt}{space 20}2016  {c |}{col 27}{res}{space 2}-.0503512{col 39}{space 2} .4038352{col 50}{space 1}   -0.12{col 59}{space 3}0.901{col 67}{space 4}-.8418537{col 80}{space 3} .7411514
{txt}{space 20}2017  {c |}{col 27}{res}{space 2}  .112162{col 39}{space 2} .4156747{col 50}{space 1}    0.27{col 59}{space 3}0.787{col 67}{space 4}-.7025455{col 80}{space 3} .9268694
{txt}{space 25} {c |}
{space 20}_cons {c |}{col 27}{res}{space 2} 13.95641{col 39}{space 2} 5.786436{col 50}{space 1}    2.41{col 59}{space 3}0.016{col 67}{space 4} 2.615201{col 80}{space 3} 25.29761
{txt}{hline 26}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
({res}est2{txt} stored)

{com}. eststo: xtnbreg government_visits L1.government_visits   c.lnprotestL1##c.polity2L1  lngdppc lngdp NaturalResources  urban_pop electricity FDI_inflow tradeopenness  i.year   , fe
{txt}note: 1 group (4 obs) dropped because of all zero outcomes
{res}
{txt}Iteration 0:{space 3}log likelihood = {res:-372.48071}  
Iteration 1:{space 3}log likelihood = {res:-361.08396}  
Iteration 2:{space 3}log likelihood = {res: -359.4405}  
Iteration 3:{space 3}log likelihood = {res:-359.28392}  
Iteration 4:{space 3}log likelihood = {res:-359.28163}  
Iteration 5:{space 3}log likelihood = {res:-359.28163}  
{res}
{txt}Conditional FE negative binomial regression{col 49}Number of obs{col 67}={col 69}{res}       167
{txt}Group variable: {res}cowcode{col 49}{txt}Number of groups{col 67}={col 69}{res}        19

{txt}{col 49}Obs per group:
{col 63}min{col 67}={col 69}{res}         2
{txt}{col 63}avg{col 67}={col 69}{res}       8.8
{txt}{col 63}max{col 67}={col 69}{res}        16

{txt}{col 49}Wald chi2({res}27{txt}){col 67}={col 70}{res}    75.23
{txt}Log likelihood  = {res}-359.28163{col 49}{txt}Prob > chi2{col 67}={res}{col 73}0.0000

{txt}{hline 26}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}        government_visits{col 27}{c |}      Coef.{col 39}   Std. Err.{col 51}      z{col 59}   P>|z|{col 67}     [95% Con{col 80}f. Interval]
{hline 26}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 8}government_visits {c |}
{space 22}L1. {c |}{col 27}{res}{space 2}  .008644{col 39}{space 2} .0084095{col 50}{space 1}    1.03{col 59}{space 3}0.304{col 67}{space 4}-.0078383{col 80}{space 3} .0251262
{txt}{space 25} {c |}
{space 14}lnprotestL1 {c |}{col 27}{res}{space 2} .1266906{col 39}{space 2} .0655161{col 50}{space 1}    1.93{col 59}{space 3}0.053{col 67}{space 4}-.0017186{col 80}{space 3} .2550999
{txt}{space 16}polity2L1 {c |}{col 27}{res}{space 2} .0298869{col 39}{space 2} .0174434{col 50}{space 1}    1.71{col 59}{space 3}0.087{col 67}{space 4}-.0043015{col 80}{space 3} .0640753
{txt}{space 25} {c |}
c.lnprotestL1#c.polity2L1 {c |}{col 27}{res}{space 2} -.017894{col 39}{space 2} .0078399{col 50}{space 1}   -2.28{col 59}{space 3}0.022{col 67}{space 4}  -.03326{col 80}{space 3} -.002528
{txt}{space 25} {c |}
{space 18}lngdppc {c |}{col 27}{res}{space 2}-.1534769{col 39}{space 2} .3983168{col 50}{space 1}   -0.39{col 59}{space 3}0.700{col 67}{space 4}-.9341634{col 80}{space 3} .6272096
{txt}{space 20}lngdp {c |}{col 27}{res}{space 2}-.2722282{col 39}{space 2} .3175207{col 50}{space 1}   -0.86{col 59}{space 3}0.391{col 67}{space 4}-.8945573{col 80}{space 3} .3501009
{txt}{space 9}NaturalResources {c |}{col 27}{res}{space 2} .0057587{col 39}{space 2}  .013823{col 50}{space 1}    0.42{col 59}{space 3}0.677{col 67}{space 4}-.0213339{col 80}{space 3} .0328513
{txt}{space 16}urban_pop {c |}{col 27}{res}{space 2}-.0314769{col 39}{space 2} .0253126{col 50}{space 1}   -1.24{col 59}{space 3}0.214{col 67}{space 4}-.0810886{col 80}{space 3} .0181349
{txt}{space 14}electricity {c |}{col 27}{res}{space 2}-.0010059{col 39}{space 2} .0056603{col 50}{space 1}   -0.18{col 59}{space 3}0.859{col 67}{space 4}-.0120999{col 80}{space 3} .0100882
{txt}{space 15}FDI_inflow {c |}{col 27}{res}{space 2}-.0003141{col 39}{space 2} .0100968{col 50}{space 1}   -0.03{col 59}{space 3}0.975{col 67}{space 4}-.0201035{col 80}{space 3} .0194752
{txt}{space 12}tradeopenness {c |}{col 27}{res}{space 2} .0066875{col 39}{space 2} .0031273{col 50}{space 1}    2.14{col 59}{space 3}0.032{col 67}{space 4} .0005581{col 80}{space 3} .0128169
{txt}{space 25} {c |}
{space 21}year {c |}
{space 20}2002  {c |}{col 27}{res}{space 2}-1.105548{col 39}{space 2} .2602165{col 50}{space 1}   -4.25{col 59}{space 3}0.000{col 67}{space 4}-1.615563{col 80}{space 3}-.5955326
{txt}{space 20}2003  {c |}{col 27}{res}{space 2}-.2528966{col 39}{space 2} .2786262{col 50}{space 1}   -0.91{col 59}{space 3}0.364{col 67}{space 4}-.7989938{col 80}{space 3} .2932007
{txt}{space 20}2004  {c |}{col 27}{res}{space 2}-.3721359{col 39}{space 2} .2744063{col 50}{space 1}   -1.36{col 59}{space 3}0.175{col 67}{space 4}-.9099624{col 80}{space 3} .1656905
{txt}{space 20}2005  {c |}{col 27}{res}{space 2} .0105943{col 39}{space 2} .3366617{col 50}{space 1}    0.03{col 59}{space 3}0.975{col 67}{space 4}-.6492505{col 80}{space 3} .6704391
{txt}{space 20}2006  {c |}{col 27}{res}{space 2}-.0646456{col 39}{space 2} .2956657{col 50}{space 1}   -0.22{col 59}{space 3}0.827{col 67}{space 4}-.6441397{col 80}{space 3} .5148484
{txt}{space 20}2007  {c |}{col 27}{res}{space 2}-.0831395{col 39}{space 2} .2654359{col 50}{space 1}   -0.31{col 59}{space 3}0.754{col 67}{space 4}-.6033843{col 80}{space 3} .4371053
{txt}{space 20}2008  {c |}{col 27}{res}{space 2} .0549831{col 39}{space 2} .2999233{col 50}{space 1}    0.18{col 59}{space 3}0.855{col 67}{space 4}-.5328558{col 80}{space 3}  .642822
{txt}{space 20}2009  {c |}{col 27}{res}{space 2} .1349718{col 39}{space 2} .3057344{col 50}{space 1}    0.44{col 59}{space 3}0.659{col 67}{space 4}-.4642565{col 80}{space 3} .7342001
{txt}{space 20}2010  {c |}{col 27}{res}{space 2} .0228944{col 39}{space 2} .3346833{col 50}{space 1}    0.07{col 59}{space 3}0.945{col 67}{space 4}-.6330728{col 80}{space 3} .6788617
{txt}{space 20}2011  {c |}{col 27}{res}{space 2}-.0921469{col 39}{space 2} .3669698{col 50}{space 1}   -0.25{col 59}{space 3}0.802{col 67}{space 4}-.8113945{col 80}{space 3} .6271007
{txt}{space 20}2012  {c |}{col 27}{res}{space 2} .1233634{col 39}{space 2} .3782081{col 50}{space 1}    0.33{col 59}{space 3}0.744{col 67}{space 4}-.6179109{col 80}{space 3} .8646377
{txt}{space 20}2013  {c |}{col 27}{res}{space 2}  .096465{col 39}{space 2}  .398096{col 50}{space 1}    0.24{col 59}{space 3}0.809{col 67}{space 4}-.6837888{col 80}{space 3} .8767188
{txt}{space 20}2014  {c |}{col 27}{res}{space 2}  .199144{col 39}{space 2} .4056739{col 50}{space 1}    0.49{col 59}{space 3}0.623{col 67}{space 4}-.5959623{col 80}{space 3} .9942503
{txt}{space 20}2015  {c |}{col 27}{res}{space 2} .1153893{col 39}{space 2} .4214657{col 50}{space 1}    0.27{col 59}{space 3}0.784{col 67}{space 4}-.7106683{col 80}{space 3} .9414468
{txt}{space 20}2016  {c |}{col 27}{res}{space 2} .1822149{col 39}{space 2} .4447682{col 50}{space 1}    0.41{col 59}{space 3}0.682{col 67}{space 4}-.6895148{col 80}{space 3} 1.053945
{txt}{space 20}2017  {c |}{col 27}{res}{space 2} .0012838{col 39}{space 2} .4699316{col 50}{space 1}    0.00{col 59}{space 3}0.998{col 67}{space 4}-.9197653{col 80}{space 3} .9223329
{txt}{space 25} {c |}
{space 20}_cons {c |}{col 27}{res}{space 2} 12.14961{col 39}{space 2} 6.552402{col 50}{space 1}    1.85{col 59}{space 3}0.064{col 67}{space 4}-.6928645{col 80}{space 3} 24.99208
{txt}{hline 26}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
({res}est3{txt} stored)

{com}. eststo: xtnbreg government_visits L1.government_visits   c.lnprotestL1##c.polity2L1  lngdppc lngdp NaturalResources  urban_pop electricity ChinaTradeOpenness chinese_ofdi_inflow_gdp chineseworkers_capita i.year   , fe
{txt}note: 1 group (1 obs) dropped because of only one obs per group
{res}
{txt}Iteration 0:{space 3}log likelihood = {res:-308.20433}  
Iteration 1:{space 3}log likelihood = {res:-297.98767}  
Iteration 2:{space 3}log likelihood = {res:-296.43187}  
Iteration 3:{space 3}log likelihood = {res:-296.39321}  
Iteration 4:{space 3}log likelihood = {res: -296.3932}  
{res}
{txt}Conditional FE negative binomial regression{col 49}Number of obs{col 67}={col 69}{res}       137
{txt}Group variable: {res}cowcode{col 49}{txt}Number of groups{col 67}={col 69}{res}        17

{txt}{col 49}Obs per group:
{col 63}min{col 67}={col 69}{res}         2
{txt}{col 63}avg{col 67}={col 69}{res}       8.1
{txt}{col 63}max{col 67}={col 69}{res}        14

{txt}{col 49}Wald chi2({res}26{txt}){col 67}={col 70}{res}    26.43
{txt}Log likelihood  = {res} -296.3932{col 49}{txt}Prob > chi2{col 67}={res}{col 73}0.4399

{txt}{hline 26}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}        government_visits{col 27}{c |}      Coef.{col 39}   Std. Err.{col 51}      z{col 59}   P>|z|{col 67}     [95% Con{col 80}f. Interval]
{hline 26}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 8}government_visits {c |}
{space 22}L1. {c |}{col 27}{res}{space 2} .0077348{col 39}{space 2} .0093186{col 50}{space 1}    0.83{col 59}{space 3}0.407{col 67}{space 4}-.0105293{col 80}{space 3} .0259988
{txt}{space 25} {c |}
{space 14}lnprotestL1 {c |}{col 27}{res}{space 2} .1066078{col 39}{space 2}  .085548{col 50}{space 1}    1.25{col 59}{space 3}0.213{col 67}{space 4}-.0610632{col 80}{space 3} .2742789
{txt}{space 16}polity2L1 {c |}{col 27}{res}{space 2} .0303458{col 39}{space 2} .0242495{col 50}{space 1}    1.25{col 59}{space 3}0.211{col 67}{space 4}-.0171825{col 80}{space 3}  .077874
{txt}{space 25} {c |}
c.lnprotestL1#c.polity2L1 {c |}{col 27}{res}{space 2}-.0162273{col 39}{space 2}  .011008{col 50}{space 1}   -1.47{col 59}{space 3}0.140{col 67}{space 4}-.0378026{col 80}{space 3} .0053479
{txt}{space 25} {c |}
{space 18}lngdppc {c |}{col 27}{res}{space 2}-.1250908{col 39}{space 2}  .458719{col 50}{space 1}   -0.27{col 59}{space 3}0.785{col 67}{space 4}-1.024163{col 80}{space 3} .7739818
{txt}{space 20}lngdp {c |}{col 27}{res}{space 2}-.3947607{col 39}{space 2}  .294928{col 50}{space 1}   -1.34{col 59}{space 3}0.181{col 67}{space 4}-.9728091{col 80}{space 3} .1832876
{txt}{space 9}NaturalResources {c |}{col 27}{res}{space 2} .0311728{col 39}{space 2}  .019837{col 50}{space 1}    1.57{col 59}{space 3}0.116{col 67}{space 4} -.007707{col 80}{space 3} .0700526
{txt}{space 16}urban_pop {c |}{col 27}{res}{space 2}  .004602{col 39}{space 2} .0306591{col 50}{space 1}    0.15{col 59}{space 3}0.881{col 67}{space 4}-.0554888{col 80}{space 3} .0646927
{txt}{space 14}electricity {c |}{col 27}{res}{space 2}-.0002364{col 39}{space 2} .0092469{col 50}{space 1}   -0.03{col 59}{space 3}0.980{col 67}{space 4}-.0183601{col 80}{space 3} .0178872
{txt}{space 7}ChinaTradeOpenness {c |}{col 27}{res}{space 2}-.0167489{col 39}{space 2} .0141882{col 50}{space 1}   -1.18{col 59}{space 3}0.238{col 67}{space 4}-.0445572{col 80}{space 3} .0110595
{txt}{space 2}chinese_ofdi_inflow_gdp {c |}{col 27}{res}{space 2}-.0889521{col 39}{space 2} .0713799{col 50}{space 1}   -1.25{col 59}{space 3}0.213{col 67}{space 4}-.2288542{col 80}{space 3} .0509499
{txt}{space 4}chineseworkers_capita {c |}{col 27}{res}{space 2} .0104514{col 39}{space 2} .0202578{col 50}{space 1}    0.52{col 59}{space 3}0.606{col 67}{space 4}-.0292531{col 80}{space 3} .0501559
{txt}{space 25} {c |}
{space 21}year {c |}
{space 20}2004  {c |}{col 27}{res}{space 2} .1241437{col 39}{space 2} .2808293{col 50}{space 1}    0.44{col 59}{space 3}0.658{col 67}{space 4}-.4262717{col 80}{space 3}  .674559
{txt}{space 20}2005  {c |}{col 27}{res}{space 2} .3990635{col 39}{space 2} .3541406{col 50}{space 1}    1.13{col 59}{space 3}0.260{col 67}{space 4}-.2950393{col 80}{space 3} 1.093166
{txt}{space 20}2006  {c |}{col 27}{res}{space 2} .4344597{col 39}{space 2} .3728165{col 50}{space 1}    1.17{col 59}{space 3}0.244{col 67}{space 4}-.2962471{col 80}{space 3} 1.165167
{txt}{space 20}2007  {c |}{col 27}{res}{space 2} .3342281{col 39}{space 2} .3236449{col 50}{space 1}    1.03{col 59}{space 3}0.302{col 67}{space 4}-.3001042{col 80}{space 3} .9685605
{txt}{space 20}2008  {c |}{col 27}{res}{space 2} .5705487{col 39}{space 2} .3681764{col 50}{space 1}    1.55{col 59}{space 3}0.121{col 67}{space 4}-.1510639{col 80}{space 3} 1.292161
{txt}{space 20}2009  {c |}{col 27}{res}{space 2} .5542378{col 39}{space 2} .3588416{col 50}{space 1}    1.54{col 59}{space 3}0.122{col 67}{space 4}-.1490788{col 80}{space 3} 1.257554
{txt}{space 20}2010  {c |}{col 27}{res}{space 2} .3664734{col 39}{space 2} .3925043{col 50}{space 1}    0.93{col 59}{space 3}0.350{col 67}{space 4}-.4028209{col 80}{space 3} 1.135768
{txt}{space 20}2011  {c |}{col 27}{res}{space 2} .3381212{col 39}{space 2} .4306201{col 50}{space 1}    0.79{col 59}{space 3}0.432{col 67}{space 4}-.5058787{col 80}{space 3} 1.182121
{txt}{space 20}2012  {c |}{col 27}{res}{space 2} .5701226{col 39}{space 2} .4488833{col 50}{space 1}    1.27{col 59}{space 3}0.204{col 67}{space 4}-.3096725{col 80}{space 3} 1.449918
{txt}{space 20}2013  {c |}{col 27}{res}{space 2} .5237944{col 39}{space 2} .4775107{col 50}{space 1}    1.10{col 59}{space 3}0.273{col 67}{space 4}-.4121095{col 80}{space 3} 1.459698
{txt}{space 20}2014  {c |}{col 27}{res}{space 2} .6744768{col 39}{space 2} .4742137{col 50}{space 1}    1.42{col 59}{space 3}0.155{col 67}{space 4} -.254965{col 80}{space 3} 1.603918
{txt}{space 20}2015  {c |}{col 27}{res}{space 2}  .495781{col 39}{space 2} .4834299{col 50}{space 1}    1.03{col 59}{space 3}0.305{col 67}{space 4}-.4517242{col 80}{space 3} 1.443286
{txt}{space 20}2016  {c |}{col 27}{res}{space 2} .5338559{col 39}{space 2} .4936387{col 50}{space 1}    1.08{col 59}{space 3}0.279{col 67}{space 4}-.4336583{col 80}{space 3}  1.50137
{txt}{space 20}2017  {c |}{col 27}{res}{space 2} .3940121{col 39}{space 2} .5336003{col 50}{space 1}    0.74{col 59}{space 3}0.460{col 67}{space 4}-.6518253{col 80}{space 3}  1.43985
{txt}{space 25} {c |}
{space 20}_cons {c |}{col 27}{res}{space 2} 13.57717{col 39}{space 2} 6.356795{col 50}{space 1}    2.14{col 59}{space 3}0.033{col 67}{space 4} 1.118082{col 80}{space 3} 26.03626
{txt}{hline 26}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
({res}est4{txt} stored)

{com}. eststo: xtnbreg government_visits L1.government_visits   c.lnprotestL1##c.polity2L1  lngdppc lngdp NaturalResources  urban_pop electricity FDI_inflow tradeopenness chineseworkers_capita  bri_carryover  i.year   , fe
{txt}note: 1 group (1 obs) dropped because of only one obs per group
{res}
{txt}Iteration 0:{space 3}log likelihood = {res:  -367.565}  
Iteration 1:{space 3}log likelihood = {res: -356.5725}  
Iteration 2:{space 3}log likelihood = {res:-355.17788}  
Iteration 3:{space 3}log likelihood = {res: -355.0219}  
Iteration 4:{space 3}log likelihood = {res:-355.01919}  
Iteration 5:{space 3}log likelihood = {res:-355.01919}  
{res}
{txt}Conditional FE negative binomial regression{col 49}Number of obs{col 67}={col 69}{res}       164
{txt}Group variable: {res}cowcode{col 49}{txt}Number of groups{col 67}={col 69}{res}        18

{txt}{col 49}Obs per group:
{col 63}min{col 67}={col 69}{res}         2
{txt}{col 63}avg{col 67}={col 69}{res}       9.1
{txt}{col 63}max{col 67}={col 69}{res}        16

{txt}{col 49}Wald chi2({res}29{txt}){col 67}={col 70}{res}    70.27
{txt}Log likelihood  = {res}-355.01919{col 49}{txt}Prob > chi2{col 67}={res}{col 73}0.0000

{txt}{hline 26}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}        government_visits{col 27}{c |}      Coef.{col 39}   Std. Err.{col 51}      z{col 59}   P>|z|{col 67}     [95% Con{col 80}f. Interval]
{hline 26}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 8}government_visits {c |}
{space 22}L1. {c |}{col 27}{res}{space 2} .0091087{col 39}{space 2} .0085039{col 50}{space 1}    1.07{col 59}{space 3}0.284{col 67}{space 4}-.0075585{col 80}{space 3}  .025776
{txt}{space 25} {c |}
{space 14}lnprotestL1 {c |}{col 27}{res}{space 2} .1201656{col 39}{space 2} .0768951{col 50}{space 1}    1.56{col 59}{space 3}0.118{col 67}{space 4} -.030546{col 80}{space 3} .2708772
{txt}{space 16}polity2L1 {c |}{col 27}{res}{space 2}  .029663{col 39}{space 2} .0187694{col 50}{space 1}    1.58{col 59}{space 3}0.114{col 67}{space 4}-.0071243{col 80}{space 3} .0664503
{txt}{space 25} {c |}
c.lnprotestL1#c.polity2L1 {c |}{col 27}{res}{space 2}-.0169294{col 39}{space 2}  .009707{col 50}{space 1}   -1.74{col 59}{space 3}0.081{col 67}{space 4}-.0359548{col 80}{space 3}  .002096
{txt}{space 25} {c |}
{space 18}lngdppc {c |}{col 27}{res}{space 2}-.1360491{col 39}{space 2} .4069957{col 50}{space 1}   -0.33{col 59}{space 3}0.738{col 67}{space 4}-.9337459{col 80}{space 3} .6616478
{txt}{space 20}lngdp {c |}{col 27}{res}{space 2}-.2863388{col 39}{space 2} .3259884{col 50}{space 1}   -0.88{col 59}{space 3}0.380{col 67}{space 4}-.9252642{col 80}{space 3} .3525867
{txt}{space 9}NaturalResources {c |}{col 27}{res}{space 2} .0002762{col 39}{space 2} .0173775{col 50}{space 1}    0.02{col 59}{space 3}0.987{col 67}{space 4}-.0337831{col 80}{space 3} .0343355
{txt}{space 16}urban_pop {c |}{col 27}{res}{space 2}-.0287319{col 39}{space 2} .0253668{col 50}{space 1}   -1.13{col 59}{space 3}0.257{col 67}{space 4}-.0784499{col 80}{space 3} .0209861
{txt}{space 14}electricity {c |}{col 27}{res}{space 2}-.0007847{col 39}{space 2} .0059964{col 50}{space 1}   -0.13{col 59}{space 3}0.896{col 67}{space 4}-.0125374{col 80}{space 3}  .010968
{txt}{space 15}FDI_inflow {c |}{col 27}{res}{space 2} .0012153{col 39}{space 2}  .010447{col 50}{space 1}    0.12{col 59}{space 3}0.907{col 67}{space 4}-.0192605{col 80}{space 3} .0216912
{txt}{space 12}tradeopenness {c |}{col 27}{res}{space 2} .0064026{col 39}{space 2} .0032402{col 50}{space 1}    1.98{col 59}{space 3}0.048{col 67}{space 4}  .000052{col 80}{space 3} .0127532
{txt}{space 4}chineseworkers_capita {c |}{col 27}{res}{space 2}-.0003775{col 39}{space 2} .0162473{col 50}{space 1}   -0.02{col 59}{space 3}0.981{col 67}{space 4}-.0322216{col 80}{space 3} .0314666
{txt}{space 12}bri_carryover {c |}{col 27}{res}{space 2} .0266481{col 39}{space 2} .1467637{col 50}{space 1}    0.18{col 59}{space 3}0.856{col 67}{space 4}-.2610034{col 80}{space 3} .3142997
{txt}{space 25} {c |}
{space 21}year {c |}
{space 20}2002  {c |}{col 27}{res}{space 2}-1.110076{col 39}{space 2} .2618505{col 50}{space 1}   -4.24{col 59}{space 3}0.000{col 67}{space 4}-1.623293{col 80}{space 3}-.5968584
{txt}{space 20}2003  {c |}{col 27}{res}{space 2}-.2575628{col 39}{space 2} .2832743{col 50}{space 1}   -0.91{col 59}{space 3}0.363{col 67}{space 4}-.8127702{col 80}{space 3} .2976445
{txt}{space 20}2004  {c |}{col 27}{res}{space 2}-.3725785{col 39}{space 2} .2792267{col 50}{space 1}   -1.33{col 59}{space 3}0.182{col 67}{space 4}-.9198527{col 80}{space 3} .1746957
{txt}{space 20}2005  {c |}{col 27}{res}{space 2} .0082698{col 39}{space 2} .3454084{col 50}{space 1}    0.02{col 59}{space 3}0.981{col 67}{space 4}-.6687183{col 80}{space 3} .6852579
{txt}{space 20}2006  {c |}{col 27}{res}{space 2}-.0800498{col 39}{space 2} .3030206{col 50}{space 1}   -0.26{col 59}{space 3}0.792{col 67}{space 4}-.6739592{col 80}{space 3} .5138596
{txt}{space 20}2007  {c |}{col 27}{res}{space 2}-.0874727{col 39}{space 2} .2773862{col 50}{space 1}   -0.32{col 59}{space 3}0.752{col 67}{space 4}-.6311396{col 80}{space 3} .4561942
{txt}{space 20}2008  {c |}{col 27}{res}{space 2} .0431317{col 39}{space 2} .3125606{col 50}{space 1}    0.14{col 59}{space 3}0.890{col 67}{space 4}-.5694759{col 80}{space 3} .6557393
{txt}{space 20}2009  {c |}{col 27}{res}{space 2} .1182019{col 39}{space 2}  .322563{col 50}{space 1}    0.37{col 59}{space 3}0.714{col 67}{space 4}-.5140099{col 80}{space 3} .7504137
{txt}{space 20}2010  {c |}{col 27}{res}{space 2} .0105375{col 39}{space 2} .3516242{col 50}{space 1}    0.03{col 59}{space 3}0.976{col 67}{space 4}-.6786333{col 80}{space 3} .6997083
{txt}{space 20}2011  {c |}{col 27}{res}{space 2} -.094633{col 39}{space 2} .3876276{col 50}{space 1}   -0.24{col 59}{space 3}0.807{col 67}{space 4}-.8543692{col 80}{space 3} .6651032
{txt}{space 20}2012  {c |}{col 27}{res}{space 2} .0903182{col 39}{space 2} .4047308{col 50}{space 1}    0.22{col 59}{space 3}0.823{col 67}{space 4}-.7029397{col 80}{space 3}  .883576
{txt}{space 20}2013  {c |}{col 27}{res}{space 2} .0632901{col 39}{space 2} .4385643{col 50}{space 1}    0.14{col 59}{space 3}0.885{col 67}{space 4}-.7962802{col 80}{space 3} .9228604
{txt}{space 20}2014  {c |}{col 27}{res}{space 2} .1627461{col 39}{space 2} .4513481{col 50}{space 1}    0.36{col 59}{space 3}0.718{col 67}{space 4}-.7218798{col 80}{space 3} 1.047372
{txt}{space 20}2015  {c |}{col 27}{res}{space 2} .0681635{col 39}{space 2}  .470588{col 50}{space 1}    0.14{col 59}{space 3}0.885{col 67}{space 4} -.854172{col 80}{space 3}  .990499
{txt}{space 20}2016  {c |}{col 27}{res}{space 2}  .165409{col 39}{space 2} .4943316{col 50}{space 1}    0.33{col 59}{space 3}0.738{col 67}{space 4}-.8034631{col 80}{space 3} 1.134281
{txt}{space 20}2017  {c |}{col 27}{res}{space 2}-.0619933{col 39}{space 2} .5480405{col 50}{space 1}   -0.11{col 59}{space 3}0.910{col 67}{space 4}-1.136133{col 80}{space 3} 1.012146
{txt}{space 25} {c |}
{space 20}_cons {c |}{col 27}{res}{space 2}  12.3039{col 39}{space 2} 6.780936{col 50}{space 1}    1.81{col 59}{space 3}0.070{col 67}{space 4}-.9864937{col 80}{space 3} 25.59429
{txt}{hline 26}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
({res}est5{txt} stored)

{com}. 
{txt}end of do-file

{com}. do "C:\Users\yujeo\AppData\Local\Temp\STD01000000.tmp"
{txt}
{com}. *Table A8: Anti-China Protests (in log) and Polity on Chinese Aid
. eststo clear
{txt}
{com}. 
{txt}end of do-file

{com}. do "C:\Users\yujeo\AppData\Local\Temp\STD01000000.tmp"
{txt}
{com}. eststo: xtreg OFa_all_pop_ln L1.OFa_all_pop_ln  c.lnprotestL1##c.polity2L1   i.year   , fe
{res}
{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}       179
{txt}Group variable: {res}cowcode{txt}{col 49}Number of groups{col 67}={col 69}{res}        21

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.2063{col 63}{txt}min{col 67}={col 69}{res}         3
{txt}     between = {res}0.0443{col 63}{txt}avg{col 67}={col 69}{res}       8.5
{txt}     overall = {res}0.0594{col 63}{txt}max{col 67}={col 69}{res}        13

{txt}{col 49}F({res}20{txt},{res}138{txt}){col 67}={col 70}{res}     1.79
{txt}corr(u_i, Xb){col 16}= {res}-0.1135{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0268

{txt}{hline 26}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}           OFa_all_pop_ln{col 27}{c |}      Coef.{col 39}   Std. Err.{col 51}      t{col 59}   P>|t|{col 67}     [95% Con{col 80}f. Interval]
{hline 26}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 11}OFa_all_pop_ln {c |}
{space 22}L1. {c |}{col 27}{res}{space 2}-.0271888{col 39}{space 2} .0887162{col 50}{space 1}   -0.31{col 59}{space 3}0.760{col 67}{space 4}-.2026078{col 80}{space 3} .1482301
{txt}{space 25} {c |}
{space 14}lnprotestL1 {c |}{col 27}{res}{space 2}-.0611703{col 39}{space 2} .1253836{col 50}{space 1}   -0.49{col 59}{space 3}0.626{col 67}{space 4}-.3090918{col 80}{space 3} .1867512
{txt}{space 16}polity2L1 {c |}{col 27}{res}{space 2} .0724828{col 39}{space 2} .0478733{col 50}{space 1}    1.51{col 59}{space 3}0.132{col 67}{space 4}-.0221772{col 80}{space 3} .1671428
{txt}{space 25} {c |}
c.lnprotestL1#c.polity2L1 {c |}{col 27}{res}{space 2}-.0156398{col 39}{space 2} .0136958{col 50}{space 1}   -1.14{col 59}{space 3}0.255{col 67}{space 4}-.0427205{col 80}{space 3}  .011441
{txt}{space 25} {c |}
{space 21}year {c |}
{space 20}2002  {c |}{col 27}{res}{space 2} .3286263{col 39}{space 2} 1.304999{col 50}{space 1}    0.25{col 59}{space 3}0.802{col 67}{space 4}-2.251752{col 80}{space 3} 2.909005
{txt}{space 20}2003  {c |}{col 27}{res}{space 2} -.222916{col 39}{space 2} .9172515{col 50}{space 1}   -0.24{col 59}{space 3}0.808{col 67}{space 4}-2.036601{col 80}{space 3} 1.590769
{txt}{space 20}2004  {c |}{col 27}{res}{space 2} .8856582{col 39}{space 2} 1.054691{col 50}{space 1}    0.84{col 59}{space 3}0.403{col 67}{space 4}-1.199786{col 80}{space 3} 2.971103
{txt}{space 20}2005  {c |}{col 27}{res}{space 2} 1.069554{col 39}{space 2} .9873092{col 50}{space 1}    1.08{col 59}{space 3}0.281{col 67}{space 4}-.8826558{col 80}{space 3} 3.021764
{txt}{space 20}2006  {c |}{col 27}{res}{space 2} 1.049696{col 39}{space 2} .8873431{col 50}{space 1}    1.18{col 59}{space 3}0.239{col 67}{space 4}-.7048507{col 80}{space 3} 2.804243
{txt}{space 20}2007  {c |}{col 27}{res}{space 2}-.2517387{col 39}{space 2}   .75207{col 50}{space 1}   -0.33{col 59}{space 3}0.738{col 67}{space 4}-1.738809{col 80}{space 3} 1.235332
{txt}{space 20}2008  {c |}{col 27}{res}{space 2} .0514178{col 39}{space 2} .7805794{col 50}{space 1}    0.07{col 59}{space 3}0.948{col 67}{space 4}-1.492025{col 80}{space 3}  1.59486
{txt}{space 20}2009  {c |}{col 27}{res}{space 2} 1.264962{col 39}{space 2} .7555501{col 50}{space 1}    1.67{col 59}{space 3}0.096{col 67}{space 4}-.2289894{col 80}{space 3} 2.758914
{txt}{space 20}2010  {c |}{col 27}{res}{space 2} 1.097017{col 39}{space 2} .7493503{col 50}{space 1}    1.46{col 59}{space 3}0.145{col 67}{space 4}-.3846762{col 80}{space 3}  2.57871
{txt}{space 20}2011  {c |}{col 27}{res}{space 2}  1.16829{col 39}{space 2} .7294782{col 50}{space 1}    1.60{col 59}{space 3}0.112{col 67}{space 4}-.2741095{col 80}{space 3}  2.61069
{txt}{space 20}2012  {c |}{col 27}{res}{space 2} 1.322134{col 39}{space 2}  .740059{col 50}{space 1}    1.79{col 59}{space 3}0.076{col 67}{space 4}-.1411876{col 80}{space 3} 2.785455
{txt}{space 20}2013  {c |}{col 27}{res}{space 2} 1.129848{col 39}{space 2} .7521508{col 50}{space 1}    1.50{col 59}{space 3}0.135{col 67}{space 4}-.3573829{col 80}{space 3} 2.617078
{txt}{space 20}2014  {c |}{col 27}{res}{space 2} .8352146{col 39}{space 2} .7480693{col 50}{space 1}    1.12{col 59}{space 3}0.266{col 67}{space 4}-.6439455{col 80}{space 3} 2.314375
{txt}{space 20}2015  {c |}{col 27}{res}{space 2} 1.243852{col 39}{space 2} .7605298{col 50}{space 1}    1.64{col 59}{space 3}0.104{col 67}{space 4}-.2599462{col 80}{space 3}  2.74765
{txt}{space 20}2016  {c |}{col 27}{res}{space 2} 1.698139{col 39}{space 2} .7567881{col 50}{space 1}    2.24{col 59}{space 3}0.026{col 67}{space 4} .2017394{col 80}{space 3} 3.194539
{txt}{space 20}2017  {c |}{col 27}{res}{space 2} 1.590464{col 39}{space 2}  .775245{col 50}{space 1}    2.05{col 59}{space 3}0.042{col 67}{space 4} .0575693{col 80}{space 3} 3.123359
{txt}{space 25} {c |}
{space 20}_cons {c |}{col 27}{res}{space 2} 1.432592{col 39}{space 2} .6931551{col 50}{space 1}    2.07{col 59}{space 3}0.041{col 67}{space 4} .0620142{col 80}{space 3}  2.80317
{txt}{hline 26}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
                  sigma_u {c |} {res}  1.376348
                  {txt}sigma_e {c |} {res} 1.0961233
                      {txt}rho {c |} {res} .61190051{txt}   (fraction of variance due to u_i)
{hline 26}{c BT}{hline 64}
F test that all u_i=0: F({res}20{txt}, {res}138{txt}) = {res}3.54{col 62}{txt}Prob > F = {res}0.0000
{txt}({res}est1{txt} stored)

{com}. eststo: xtreg OFa_all_pop_ln L1.OFa_all_pop_ln   c.lnprotestL1##c.polity2L1  lngdppc lngdp NaturalResources  urban_pop electricity   i.year   , fe
{res}
{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}       179
{txt}Group variable: {res}cowcode{txt}{col 49}Number of groups{col 67}={col 69}{res}        21

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.2230{col 63}{txt}min{col 67}={col 69}{res}         3
{txt}     between = {res}0.3512{col 63}{txt}avg{col 67}={col 69}{res}       8.5
{txt}     overall = {res}0.1773{col 63}{txt}max{col 67}={col 69}{res}        13

{txt}{col 49}F({res}25{txt},{res}133{txt}){col 67}={col 70}{res}     1.53
{txt}corr(u_i, Xb){col 16}= {res}-0.9904{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0665

{txt}{hline 26}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}           OFa_all_pop_ln{col 27}{c |}      Coef.{col 39}   Std. Err.{col 51}      t{col 59}   P>|t|{col 67}     [95% Con{col 80}f. Interval]
{hline 26}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 11}OFa_all_pop_ln {c |}
{space 22}L1. {c |}{col 27}{res}{space 2}-.0546251{col 39}{space 2} .0919975{col 50}{space 1}   -0.59{col 59}{space 3}0.554{col 67}{space 4}-.2365927{col 80}{space 3} .1273424
{txt}{space 25} {c |}
{space 14}lnprotestL1 {c |}{col 27}{res}{space 2}-.1013366{col 39}{space 2} .1295159{col 50}{space 1}   -0.78{col 59}{space 3}0.435{col 67}{space 4} -.357514{col 80}{space 3} .1548409
{txt}{space 16}polity2L1 {c |}{col 27}{res}{space 2} .0860949{col 39}{space 2} .0498233{col 50}{space 1}    1.73{col 59}{space 3}0.086{col 67}{space 4}-.0124537{col 80}{space 3} .1846434
{txt}{space 25} {c |}
c.lnprotestL1#c.polity2L1 {c |}{col 27}{res}{space 2}-.0132393{col 39}{space 2} .0146782{col 50}{space 1}   -0.90{col 59}{space 3}0.369{col 67}{space 4}-.0422722{col 80}{space 3} .0157937
{txt}{space 25} {c |}
{space 18}lngdppc {c |}{col 27}{res}{space 2}-4.351556{col 39}{space 2} 5.581555{col 50}{space 1}   -0.78{col 59}{space 3}0.437{col 67}{space 4}-15.39166{col 80}{space 3} 6.688543
{txt}{space 20}lngdp {c |}{col 27}{res}{space 2} 4.561639{col 39}{space 2} 5.665761{col 50}{space 1}    0.81{col 59}{space 3}0.422{col 67}{space 4}-6.645018{col 80}{space 3} 15.76829
{txt}{space 9}NaturalResources {c |}{col 27}{res}{space 2}  -.00878{col 39}{space 2} .0312768{col 50}{space 1}   -0.28{col 59}{space 3}0.779{col 67}{space 4}-.0706443{col 80}{space 3} .0530844
{txt}{space 16}urban_pop {c |}{col 27}{res}{space 2} .1532571{col 39}{space 2} .1035309{col 50}{space 1}    1.48{col 59}{space 3}0.141{col 67}{space 4}-.0515229{col 80}{space 3} .3580372
{txt}{space 14}electricity {c |}{col 27}{res}{space 2}-.0090367{col 39}{space 2} .0159008{col 50}{space 1}   -0.57{col 59}{space 3}0.571{col 67}{space 4}-.0404878{col 80}{space 3} .0224144
{txt}{space 25} {c |}
{space 21}year {c |}
{space 20}2002  {c |}{col 27}{res}{space 2} .3094782{col 39}{space 2} 1.316416{col 50}{space 1}    0.24{col 59}{space 3}0.814{col 67}{space 4}-2.294341{col 80}{space 3} 2.913297
{txt}{space 20}2003  {c |}{col 27}{res}{space 2} .2263222{col 39}{space 2} 1.092398{col 50}{space 1}    0.21{col 59}{space 3}0.836{col 67}{space 4}-1.934398{col 80}{space 3} 2.387043
{txt}{space 20}2004  {c |}{col 27}{res}{space 2} .9607422{col 39}{space 2} 1.203475{col 50}{space 1}    0.80{col 59}{space 3}0.426{col 67}{space 4}-1.419685{col 80}{space 3}  3.34117
{txt}{space 20}2005  {c |}{col 27}{res}{space 2} 1.096601{col 39}{space 2} 1.195412{col 50}{space 1}    0.92{col 59}{space 3}0.361{col 67}{space 4}-1.267878{col 80}{space 3}  3.46108
{txt}{space 20}2006  {c |}{col 27}{res}{space 2} .8431549{col 39}{space 2} 1.219709{col 50}{space 1}    0.69{col 59}{space 3}0.491{col 67}{space 4}-1.569382{col 80}{space 3} 3.255692
{txt}{space 20}2007  {c |}{col 27}{res}{space 2} -.571953{col 39}{space 2} 1.133095{col 50}{space 1}   -0.50{col 59}{space 3}0.615{col 67}{space 4}-2.813171{col 80}{space 3} 1.669265
{txt}{space 20}2008  {c |}{col 27}{res}{space 2}-.3950957{col 39}{space 2} 1.262879{col 50}{space 1}   -0.31{col 59}{space 3}0.755{col 67}{space 4}-2.893021{col 80}{space 3} 2.102829
{txt}{space 20}2009  {c |}{col 27}{res}{space 2} .7272302{col 39}{space 2} 1.289803{col 50}{space 1}    0.56{col 59}{space 3}0.574{col 67}{space 4} -1.82395{col 80}{space 3}  3.27841
{txt}{space 20}2010  {c |}{col 27}{res}{space 2} .4653184{col 39}{space 2} 1.367754{col 50}{space 1}    0.34{col 59}{space 3}0.734{col 67}{space 4}-2.240047{col 80}{space 3} 3.170684
{txt}{space 20}2011  {c |}{col 27}{res}{space 2} .3671639{col 39}{space 2} 1.528329{col 50}{space 1}    0.24{col 59}{space 3}0.811{col 67}{space 4}-2.655811{col 80}{space 3} 3.390138
{txt}{space 20}2012  {c |}{col 27}{res}{space 2} .4219887{col 39}{space 2} 1.592069{col 50}{space 1}    0.27{col 59}{space 3}0.791{col 67}{space 4}-2.727062{col 80}{space 3}  3.57104
{txt}{space 20}2013  {c |}{col 27}{res}{space 2} .1420692{col 39}{space 2} 1.670892{col 50}{space 1}    0.09{col 59}{space 3}0.932{col 67}{space 4} -3.16289{col 80}{space 3} 3.447028
{txt}{space 20}2014  {c |}{col 27}{res}{space 2}-.2861165{col 39}{space 2} 1.761813{col 50}{space 1}   -0.16{col 59}{space 3}0.871{col 67}{space 4}-3.770914{col 80}{space 3} 3.198681
{txt}{space 20}2015  {c |}{col 27}{res}{space 2} .0288952{col 39}{space 2}  1.82529{col 50}{space 1}    0.02{col 59}{space 3}0.987{col 67}{space 4}-3.581458{col 80}{space 3} 3.639248
{txt}{space 20}2016  {c |}{col 27}{res}{space 2}  .370251{col 39}{space 2} 1.906247{col 50}{space 1}    0.19{col 59}{space 3}0.846{col 67}{space 4}-3.400232{col 80}{space 3} 4.140734
{txt}{space 20}2017  {c |}{col 27}{res}{space 2} .2020211{col 39}{space 2} 2.008233{col 50}{space 1}    0.10{col 59}{space 3}0.920{col 67}{space 4}-3.770186{col 80}{space 3} 4.174228
{txt}{space 25} {c |}
{space 20}_cons {c |}{col 27}{res}{space 2}-83.63391{col 39}{space 2} 100.3102{col 50}{space 1}   -0.83{col 59}{space 3}0.406{col 67}{space 4}-282.0436{col 80}{space 3} 114.7757
{txt}{hline 26}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
                  sigma_u {c |} {res}  8.631265
                  {txt}sigma_e {c |} {res} 1.1047532
                      {txt}rho {c |} {res} .98388151{txt}   (fraction of variance due to u_i)
{hline 26}{c BT}{hline 64}
F test that all u_i=0: F({res}20{txt}, {res}133{txt}) = {res}3.21{col 62}{txt}Prob > F = {res}0.0000
{txt}({res}est2{txt} stored)

{com}. eststo: xtreg OFa_all_pop_ln L1.OFa_all_pop_ln   c.lnprotestL1##c.polity2L1  lngdppc lngdp NaturalResources  urban_pop electricity FDI_inflow tradeopenness  i.year   , fe
{res}
{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}       154
{txt}Group variable: {res}cowcode{txt}{col 49}Number of groups{col 67}={col 69}{res}        18

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.3272{col 63}{txt}min{col 67}={col 69}{res}         3
{txt}     between = {res}0.2926{col 63}{txt}avg{col 67}={col 69}{res}       8.6
{txt}     overall = {res}0.1100{col 63}{txt}max{col 67}={col 69}{res}        13

{txt}{col 49}F({res}27{txt},{res}109{txt}){col 67}={col 70}{res}     1.96
{txt}corr(u_i, Xb){col 16}= {res}-0.9811{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0079

{txt}{hline 26}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}           OFa_all_pop_ln{col 27}{c |}      Coef.{col 39}   Std. Err.{col 51}      t{col 59}   P>|t|{col 67}     [95% Con{col 80}f. Interval]
{hline 26}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 11}OFa_all_pop_ln {c |}
{space 22}L1. {c |}{col 27}{res}{space 2}-.0320278{col 39}{space 2} .0970428{col 50}{space 1}   -0.33{col 59}{space 3}0.742{col 67}{space 4}-.2243634{col 80}{space 3} .1603078
{txt}{space 25} {c |}
{space 14}lnprotestL1 {c |}{col 27}{res}{space 2} .2449257{col 39}{space 2} .1783531{col 50}{space 1}    1.37{col 59}{space 3}0.172{col 67}{space 4}-.1085643{col 80}{space 3} .5984157
{txt}{space 16}polity2L1 {c |}{col 27}{res}{space 2} .1633165{col 39}{space 2} .0604766{col 50}{space 1}    2.70{col 59}{space 3}0.008{col 67}{space 4} .0434539{col 80}{space 3} .2831792
{txt}{space 25} {c |}
c.lnprotestL1#c.polity2L1 {c |}{col 27}{res}{space 2}-.0589354{col 39}{space 2} .0217608{col 50}{space 1}   -2.71{col 59}{space 3}0.008{col 67}{space 4}-.1020646{col 80}{space 3}-.0158062
{txt}{space 25} {c |}
{space 18}lngdppc {c |}{col 27}{res}{space 2}-1.235754{col 39}{space 2} 6.089575{col 50}{space 1}   -0.20{col 59}{space 3}0.840{col 67}{space 4}-13.30509{col 80}{space 3} 10.83359
{txt}{space 20}lngdp {c |}{col 27}{res}{space 2} 3.246045{col 39}{space 2} 6.007855{col 50}{space 1}    0.54{col 59}{space 3}0.590{col 67}{space 4}-8.661328{col 80}{space 3} 15.15342
{txt}{space 9}NaturalResources {c |}{col 27}{res}{space 2}-.0923048{col 39}{space 2} .0413224{col 50}{space 1}   -2.23{col 59}{space 3}0.028{col 67}{space 4}-.1742045{col 80}{space 3}-.0104051
{txt}{space 16}urban_pop {c |}{col 27}{res}{space 2} .1803037{col 39}{space 2} .1100901{col 50}{space 1}    1.64{col 59}{space 3}0.104{col 67}{space 4}-.0378913{col 80}{space 3} .3984988
{txt}{space 14}electricity {c |}{col 27}{res}{space 2} -.037471{col 39}{space 2} .0186564{col 50}{space 1}   -2.01{col 59}{space 3}0.047{col 67}{space 4}-.0744475{col 80}{space 3}-.0004946
{txt}{space 15}FDI_inflow {c |}{col 27}{res}{space 2} .0132358{col 39}{space 2} .0213065{col 50}{space 1}    0.62{col 59}{space 3}0.536{col 67}{space 4}-.0289929{col 80}{space 3} .0554645
{txt}{space 12}tradeopenness {c |}{col 27}{res}{space 2} .0205732{col 39}{space 2}  .012192{col 50}{space 1}    1.69{col 59}{space 3}0.094{col 67}{space 4} -.003591{col 80}{space 3} .0447374
{txt}{space 25} {c |}
{space 21}year {c |}
{space 20}2002  {c |}{col 27}{res}{space 2} .6778071{col 39}{space 2} 1.283838{col 50}{space 1}    0.53{col 59}{space 3}0.599{col 67}{space 4}-1.866718{col 80}{space 3} 3.222332
{txt}{space 20}2003  {c |}{col 27}{res}{space 2} 1.242383{col 39}{space 2} 1.214803{col 50}{space 1}    1.02{col 59}{space 3}0.309{col 67}{space 4}-1.165316{col 80}{space 3} 3.650083
{txt}{space 20}2004  {c |}{col 27}{res}{space 2} 1.539302{col 39}{space 2} 1.419654{col 50}{space 1}    1.08{col 59}{space 3}0.281{col 67}{space 4}-1.274407{col 80}{space 3}  4.35301
{txt}{space 20}2005  {c |}{col 27}{res}{space 2} 1.582865{col 39}{space 2} 1.535449{col 50}{space 1}    1.03{col 59}{space 3}0.305{col 67}{space 4}-1.460346{col 80}{space 3} 4.626075
{txt}{space 20}2006  {c |}{col 27}{res}{space 2}  .975592{col 39}{space 2} 1.305627{col 50}{space 1}    0.75{col 59}{space 3}0.457{col 67}{space 4}-1.612118{col 80}{space 3} 3.563302
{txt}{space 20}2007  {c |}{col 27}{res}{space 2}-.8278235{col 39}{space 2} 1.138023{col 50}{space 1}   -0.73{col 59}{space 3}0.469{col 67}{space 4}-3.083348{col 80}{space 3} 1.427701
{txt}{space 20}2008  {c |}{col 27}{res}{space 2}  -.90919{col 39}{space 2} 1.297105{col 50}{space 1}   -0.70{col 59}{space 3}0.485{col 67}{space 4}-3.480009{col 80}{space 3} 1.661629
{txt}{space 20}2009  {c |}{col 27}{res}{space 2} .5373497{col 39}{space 2} 1.306527{col 50}{space 1}    0.41{col 59}{space 3}0.682{col 67}{space 4}-2.052144{col 80}{space 3} 3.126843
{txt}{space 20}2010  {c |}{col 27}{res}{space 2}-.1770132{col 39}{space 2} 1.386353{col 50}{space 1}   -0.13{col 59}{space 3}0.899{col 67}{space 4}-2.924719{col 80}{space 3} 2.570693
{txt}{space 20}2011  {c |}{col 27}{res}{space 2} -.448913{col 39}{space 2} 1.543769{col 50}{space 1}   -0.29{col 59}{space 3}0.772{col 67}{space 4}-3.508613{col 80}{space 3} 2.610787
{txt}{space 20}2012  {c |}{col 27}{res}{space 2}-.1594807{col 39}{space 2} 1.608604{col 50}{space 1}   -0.10{col 59}{space 3}0.921{col 67}{space 4}-3.347682{col 80}{space 3}  3.02872
{txt}{space 20}2013  {c |}{col 27}{res}{space 2} -.718311{col 39}{space 2} 1.691829{col 50}{space 1}   -0.42{col 59}{space 3}0.672{col 67}{space 4}-4.071462{col 80}{space 3}  2.63484
{txt}{space 20}2014  {c |}{col 27}{res}{space 2}-1.384931{col 39}{space 2} 1.783628{col 50}{space 1}   -0.78{col 59}{space 3}0.439{col 67}{space 4}-4.920024{col 80}{space 3} 2.150162
{txt}{space 20}2015  {c |}{col 27}{res}{space 2}-1.009023{col 39}{space 2} 1.861379{col 50}{space 1}   -0.54{col 59}{space 3}0.589{col 67}{space 4}-4.698215{col 80}{space 3} 2.680168
{txt}{space 20}2016  {c |}{col 27}{res}{space 2}-.6443235{col 39}{space 2} 1.932054{col 50}{space 1}   -0.33{col 59}{space 3}0.739{col 67}{space 4}-4.473591{col 80}{space 3} 3.184944
{txt}{space 20}2017  {c |}{col 27}{res}{space 2}-.7722408{col 39}{space 2} 2.019739{col 50}{space 1}   -0.38{col 59}{space 3}0.703{col 67}{space 4}-4.775298{col 80}{space 3} 3.230817
{txt}{space 25} {c |}
{space 20}_cons {c |}{col 27}{res}{space 2}-74.08269{col 39}{space 2} 105.4942{col 50}{space 1}   -0.70{col 59}{space 3}0.484{col 67}{space 4}-283.1688{col 80}{space 3} 135.0035
{txt}{hline 26}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
                  sigma_u {c |} {res} 7.2368149
                  {txt}sigma_e {c |} {res} 1.0648173
                      {txt}rho {c |} {res} .97880892{txt}   (fraction of variance due to u_i)
{hline 26}{c BT}{hline 64}
F test that all u_i=0: F({res}17{txt}, {res}109{txt}) = {res}3.99{col 62}{txt}Prob > F = {res}0.0000
{txt}({res}est3{txt} stored)

{com}. eststo: xtreg OFa_all_pop_ln L1.OFa_all_pop_ln   c.lnprotestL1##c.polity2L1  lngdppc lngdp NaturalResources  urban_pop electricity ChinaTradeOpenness chinese_ofdi_inflow_gdp chineseworkers_capita i.year   , fe
{res}
{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}       136
{txt}Group variable: {res}cowcode{txt}{col 49}Number of groups{col 67}={col 69}{res}        18

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.3662{col 63}{txt}min{col 67}={col 69}{res}         1
{txt}     between = {res}0.2561{col 63}{txt}avg{col 67}={col 69}{res}       7.6
{txt}     overall = {res}0.2546{col 63}{txt}max{col 67}={col 69}{res}        13

{txt}{col 49}F({res}26{txt},{res}92{txt}){col 67}={col 70}{res}     2.04
{txt}corr(u_i, Xb){col 16}= {res}-0.9660{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0069

{txt}{hline 26}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}           OFa_all_pop_ln{col 27}{c |}      Coef.{col 39}   Std. Err.{col 51}      t{col 59}   P>|t|{col 67}     [95% Con{col 80}f. Interval]
{hline 26}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 11}OFa_all_pop_ln {c |}
{space 22}L1. {c |}{col 27}{res}{space 2}-.1034777{col 39}{space 2} .0994383{col 50}{space 1}   -1.04{col 59}{space 3}0.301{col 67}{space 4}-.3009708{col 80}{space 3} .0940154
{txt}{space 25} {c |}
{space 14}lnprotestL1 {c |}{col 27}{res}{space 2}  .235282{col 39}{space 2} .2236397{col 50}{space 1}    1.05{col 59}{space 3}0.296{col 67}{space 4}-.2088858{col 80}{space 3} .6794497
{txt}{space 16}polity2L1 {c |}{col 27}{res}{space 2} .1618857{col 39}{space 2} .0708254{col 50}{space 1}    2.29{col 59}{space 3}0.025{col 67}{space 4} .0212203{col 80}{space 3}  .302551
{txt}{space 25} {c |}
c.lnprotestL1#c.polity2L1 {c |}{col 27}{res}{space 2}-.0435172{col 39}{space 2} .0266987{col 50}{space 1}   -1.63{col 59}{space 3}0.107{col 67}{space 4} -.096543{col 80}{space 3} .0095086
{txt}{space 25} {c |}
{space 18}lngdppc {c |}{col 27}{res}{space 2} 4.754811{col 39}{space 2} 7.084174{col 50}{space 1}    0.67{col 59}{space 3}0.504{col 67}{space 4} -9.31497{col 80}{space 3} 18.82459
{txt}{space 20}lngdp {c |}{col 27}{res}{space 2}-3.197047{col 39}{space 2} 7.059991{col 50}{space 1}   -0.45{col 59}{space 3}0.652{col 67}{space 4} -17.2188{col 80}{space 3}  10.8247
{txt}{space 9}NaturalResources {c |}{col 27}{res}{space 2}-.1892115{col 39}{space 2} .0528333{col 50}{space 1}   -3.58{col 59}{space 3}0.001{col 67}{space 4}-.2941429{col 80}{space 3}-.0842801
{txt}{space 16}urban_pop {c |}{col 27}{res}{space 2} .0413797{col 39}{space 2} .1196211{col 50}{space 1}    0.35{col 59}{space 3}0.730{col 67}{space 4}-.1961982{col 80}{space 3} .2789575
{txt}{space 14}electricity {c |}{col 27}{res}{space 2}-.0424029{col 39}{space 2} .0225502{col 50}{space 1}   -1.88{col 59}{space 3}0.063{col 67}{space 4}-.0871895{col 80}{space 3} .0023838
{txt}{space 7}ChinaTradeOpenness {c |}{col 27}{res}{space 2} .0296015{col 39}{space 2} .0436795{col 50}{space 1}    0.68{col 59}{space 3}0.500{col 67}{space 4}-.0571499{col 80}{space 3} .1163528
{txt}{space 2}chinese_ofdi_inflow_gdp {c |}{col 27}{res}{space 2} .3328557{col 39}{space 2} .1707022{col 50}{space 1}    1.95{col 59}{space 3}0.054{col 67}{space 4}-.0061736{col 80}{space 3} .6718849
{txt}{space 4}chineseworkers_capita {c |}{col 27}{res}{space 2}-.0248812{col 39}{space 2} .0488264{col 50}{space 1}   -0.51{col 59}{space 3}0.612{col 67}{space 4}-.1218547{col 80}{space 3} .0720923
{txt}{space 25} {c |}
{space 21}year {c |}
{space 20}2004  {c |}{col 27}{res}{space 2} 1.140201{col 39}{space 2} 1.061015{col 50}{space 1}    1.07{col 59}{space 3}0.285{col 67}{space 4}-.9670674{col 80}{space 3} 3.247469
{txt}{space 20}2005  {c |}{col 27}{res}{space 2} .7206115{col 39}{space 2} 1.372109{col 50}{space 1}    0.53{col 59}{space 3}0.601{col 67}{space 4}-2.004515{col 80}{space 3} 3.445738
{txt}{space 20}2006  {c |}{col 27}{res}{space 2} .3760234{col 39}{space 2} 1.233414{col 50}{space 1}    0.30{col 59}{space 3}0.761{col 67}{space 4}-2.073643{col 80}{space 3}  2.82569
{txt}{space 20}2007  {c |}{col 27}{res}{space 2}-1.049061{col 39}{space 2} 1.140492{col 50}{space 1}   -0.92{col 59}{space 3}0.360{col 67}{space 4}-3.314177{col 80}{space 3} 1.216055
{txt}{space 20}2008  {c |}{col 27}{res}{space 2}-.7805913{col 39}{space 2} 1.310435{col 50}{space 1}   -0.60{col 59}{space 3}0.553{col 67}{space 4}-3.383229{col 80}{space 3} 1.822047
{txt}{space 20}2009  {c |}{col 27}{res}{space 2} .0891634{col 39}{space 2} 1.331047{col 50}{space 1}    0.07{col 59}{space 3}0.947{col 67}{space 4}-2.554412{col 80}{space 3} 2.732738
{txt}{space 20}2010  {c |}{col 27}{res}{space 2}-.1247064{col 39}{space 2} 1.479743{col 50}{space 1}   -0.08{col 59}{space 3}0.933{col 67}{space 4}-3.063604{col 80}{space 3} 2.814191
{txt}{space 20}2011  {c |}{col 27}{res}{space 2}-.3154907{col 39}{space 2} 1.690773{col 50}{space 1}   -0.19{col 59}{space 3}0.852{col 67}{space 4}-3.673512{col 80}{space 3} 3.042531
{txt}{space 20}2012  {c |}{col 27}{res}{space 2} .0438014{col 39}{space 2} 1.755222{col 50}{space 1}    0.02{col 59}{space 3}0.980{col 67}{space 4} -3.44222{col 80}{space 3} 3.529823
{txt}{space 20}2013  {c |}{col 27}{res}{space 2}-.2870563{col 39}{space 2} 1.843494{col 50}{space 1}   -0.16{col 59}{space 3}0.877{col 67}{space 4}-3.948394{col 80}{space 3} 3.374281
{txt}{space 20}2014  {c |}{col 27}{res}{space 2}-.8743198{col 39}{space 2}  1.94001{col 50}{space 1}   -0.45{col 59}{space 3}0.653{col 67}{space 4}-4.727348{col 80}{space 3} 2.978708
{txt}{space 20}2015  {c |}{col 27}{res}{space 2}-.3487355{col 39}{space 2} 1.983837{col 50}{space 1}   -0.18{col 59}{space 3}0.861{col 67}{space 4}-4.288808{col 80}{space 3} 3.591337
{txt}{space 20}2016  {c |}{col 27}{res}{space 2}   .02258{col 39}{space 2}  2.03798{col 50}{space 1}    0.01{col 59}{space 3}0.991{col 67}{space 4}-4.025024{col 80}{space 3} 4.070184
{txt}{space 20}2017  {c |}{col 27}{res}{space 2} -.105816{col 39}{space 2} 2.156184{col 50}{space 1}   -0.05{col 59}{space 3}0.961{col 67}{space 4}-4.388184{col 80}{space 3} 4.176552
{txt}{space 25} {c |}
{space 20}_cons {c |}{col 27}{res}{space 2} 48.74088{col 39}{space 2} 124.7766{col 50}{space 1}    0.39{col 59}{space 3}0.697{col 67}{space 4}-199.0763{col 80}{space 3} 296.5581
{txt}{hline 26}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
                  sigma_u {c |} {res} 5.3753412
                  {txt}sigma_e {c |} {res} 1.0410563
                      {txt}rho {c |} {res} .96384699{txt}   (fraction of variance due to u_i)
{hline 26}{c BT}{hline 64}
F test that all u_i=0: F({res}17{txt}, {res}92{txt}) = {res}4.62{col 62}{txt}Prob > F = {res}0.0000
{txt}({res}est4{txt} stored)

{com}. eststo: xtreg OFa_all_pop_ln L1.OFa_all_pop_ln   c.lnprotestL1##c.polity2L1  lngdppc lngdp NaturalResources  urban_pop electricity FDI_inflow tradeopenness chineseworkers_capita  bri_carryover  i.year   , fe
{res}
{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}       153
{txt}Group variable: {res}cowcode{txt}{col 49}Number of groups{col 67}={col 69}{res}        18

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.3530{col 63}{txt}min{col 67}={col 69}{res}         3
{txt}     between = {res}0.2896{col 63}{txt}avg{col 67}={col 69}{res}       8.5
{txt}     overall = {res}0.1135{col 63}{txt}max{col 67}={col 69}{res}        13

{txt}{col 49}F({res}29{txt},{res}106{txt}){col 67}={col 70}{res}     1.99
{txt}corr(u_i, Xb){col 16}= {res}-0.9857{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0059

{txt}{hline 26}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}           OFa_all_pop_ln{col 27}{c |}      Coef.{col 39}   Std. Err.{col 51}      t{col 59}   P>|t|{col 67}     [95% Con{col 80}f. Interval]
{hline 26}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 11}OFa_all_pop_ln {c |}
{space 22}L1. {c |}{col 27}{res}{space 2}-.0562688{col 39}{space 2} .0974884{col 50}{space 1}   -0.58{col 59}{space 3}0.565{col 67}{space 4}-.2495489{col 80}{space 3} .1370113
{txt}{space 25} {c |}
{space 14}lnprotestL1 {c |}{col 27}{res}{space 2} .2834797{col 39}{space 2} .1976536{col 50}{space 1}    1.43{col 59}{space 3}0.154{col 67}{space 4}-.1083878{col 80}{space 3} .6753471
{txt}{space 16}polity2L1 {c |}{col 27}{res}{space 2} .1673859{col 39}{space 2} .0628548{col 50}{space 1}    2.66{col 59}{space 3}0.009{col 67}{space 4} .0427701{col 80}{space 3} .2920016
{txt}{space 25} {c |}
c.lnprotestL1#c.polity2L1 {c |}{col 27}{res}{space 2}-.0584164{col 39}{space 2} .0255771{col 50}{space 1}   -2.28{col 59}{space 3}0.024{col 67}{space 4}-.1091254{col 80}{space 3}-.0077073
{txt}{space 25} {c |}
{space 18}lngdppc {c |}{col 27}{res}{space 2}-1.541468{col 39}{space 2} 6.304927{col 50}{space 1}   -0.24{col 59}{space 3}0.807{col 67}{space 4} -14.0416{col 80}{space 3} 10.95866
{txt}{space 20}lngdp {c |}{col 27}{res}{space 2} 3.940013{col 39}{space 2} 6.181185{col 50}{space 1}    0.64{col 59}{space 3}0.525{col 67}{space 4}-8.314787{col 80}{space 3} 16.19481
{txt}{space 9}NaturalResources {c |}{col 27}{res}{space 2} -.107965{col 39}{space 2} .0436648{col 50}{space 1}   -2.47{col 59}{space 3}0.015{col 67}{space 4}-.1945346{col 80}{space 3}-.0213953
{txt}{space 16}urban_pop {c |}{col 27}{res}{space 2} .1907724{col 39}{space 2} .1097823{col 50}{space 1}    1.74{col 59}{space 3}0.085{col 67}{space 4}-.0268816{col 80}{space 3} .4084265
{txt}{space 14}electricity {c |}{col 27}{res}{space 2}-.0344909{col 39}{space 2} .0186382{col 50}{space 1}   -1.85{col 59}{space 3}0.067{col 67}{space 4} -.071443{col 80}{space 3} .0024611
{txt}{space 15}FDI_inflow {c |}{col 27}{res}{space 2}-.0034026{col 39}{space 2} .0223796{col 50}{space 1}   -0.15{col 59}{space 3}0.879{col 67}{space 4}-.0477723{col 80}{space 3} .0409671
{txt}{space 12}tradeopenness {c |}{col 27}{res}{space 2} .0216069{col 39}{space 2} .0126142{col 50}{space 1}    1.71{col 59}{space 3}0.090{col 67}{space 4} -.003402{col 80}{space 3} .0466157
{txt}{space 4}chineseworkers_capita {c |}{col 27}{res}{space 2} .0906319{col 39}{space 2} .0409364{col 50}{space 1}    2.21{col 59}{space 3}0.029{col 67}{space 4} .0094714{col 80}{space 3} .1717923
{txt}{space 12}bri_carryover {c |}{col 27}{res}{space 2} .1656739{col 39}{space 2} .4030256{col 50}{space 1}    0.41{col 59}{space 3}0.682{col 67}{space 4}-.6333634{col 80}{space 3} .9647113
{txt}{space 25} {c |}
{space 21}year {c |}
{space 20}2002  {c |}{col 27}{res}{space 2} .5447486{col 39}{space 2} 1.273904{col 50}{space 1}    0.43{col 59}{space 3}0.670{col 67}{space 4}-1.980889{col 80}{space 3} 3.070387
{txt}{space 20}2003  {c |}{col 27}{res}{space 2}  1.25891{col 39}{space 2} 1.205423{col 50}{space 1}    1.04{col 59}{space 3}0.299{col 67}{space 4}-1.130958{col 80}{space 3} 3.648779
{txt}{space 20}2004  {c |}{col 27}{res}{space 2} 1.385613{col 39}{space 2} 1.408752{col 50}{space 1}    0.98{col 59}{space 3}0.328{col 67}{space 4}-1.407375{col 80}{space 3} 4.178601
{txt}{space 20}2005  {c |}{col 27}{res}{space 2} 1.461125{col 39}{space 2} 1.532755{col 50}{space 1}    0.95{col 59}{space 3}0.343{col 67}{space 4}-1.577711{col 80}{space 3}  4.49996
{txt}{space 20}2006  {c |}{col 27}{res}{space 2} .8212329{col 39}{space 2} 1.295144{col 50}{space 1}    0.63{col 59}{space 3}0.527{col 67}{space 4}-1.746517{col 80}{space 3} 3.388982
{txt}{space 20}2007  {c |}{col 27}{res}{space 2}-1.116702{col 39}{space 2} 1.134161{col 50}{space 1}   -0.98{col 59}{space 3}0.327{col 67}{space 4}-3.365287{col 80}{space 3} 1.131883
{txt}{space 20}2008  {c |}{col 27}{res}{space 2}-1.228711{col 39}{space 2} 1.292404{col 50}{space 1}   -0.95{col 59}{space 3}0.344{col 67}{space 4}-3.791029{col 80}{space 3} 1.333606
{txt}{space 20}2009  {c |}{col 27}{res}{space 2} .1404034{col 39}{space 2} 1.305721{col 50}{space 1}    0.11{col 59}{space 3}0.915{col 67}{space 4}-2.448316{col 80}{space 3} 2.729122
{txt}{space 20}2010  {c |}{col 27}{res}{space 2} -.598468{col 39}{space 2} 1.385961{col 50}{space 1}   -0.43{col 59}{space 3}0.667{col 67}{space 4}-3.346271{col 80}{space 3} 2.149335
{txt}{space 20}2011  {c |}{col 27}{res}{space 2}-1.010838{col 39}{space 2} 1.549643{col 50}{space 1}   -0.65{col 59}{space 3}0.516{col 67}{space 4}-4.083157{col 80}{space 3}  2.06148
{txt}{space 20}2012  {c |}{col 27}{res}{space 2}-.8421896{col 39}{space 2}  1.62165{col 50}{space 1}   -0.52{col 59}{space 3}0.605{col 67}{space 4}-4.057268{col 80}{space 3} 2.372889
{txt}{space 20}2013  {c |}{col 27}{res}{space 2}-1.450988{col 39}{space 2} 1.710083{col 50}{space 1}   -0.85{col 59}{space 3}0.398{col 67}{space 4}-4.841394{col 80}{space 3} 1.939419
{txt}{space 20}2014  {c |}{col 27}{res}{space 2}-2.162392{col 39}{space 2}  1.80393{col 50}{space 1}   -1.20{col 59}{space 3}0.233{col 67}{space 4}-5.738859{col 80}{space 3} 1.414076
{txt}{space 20}2015  {c |}{col 27}{res}{space 2}-1.860809{col 39}{space 2}   1.8893{col 50}{space 1}   -0.98{col 59}{space 3}0.327{col 67}{space 4} -5.60653{col 80}{space 3} 1.884913
{txt}{space 20}2016  {c |}{col 27}{res}{space 2}-1.558177{col 39}{space 2} 1.964768{col 50}{space 1}   -0.79{col 59}{space 3}0.430{col 67}{space 4} -5.45352{col 80}{space 3} 2.337167
{txt}{space 20}2017  {c |}{col 27}{res}{space 2}-1.671891{col 39}{space 2} 2.067836{col 50}{space 1}   -0.81{col 59}{space 3}0.421{col 67}{space 4}-5.771577{col 80}{space 3} 2.427794
{txt}{space 25} {c |}
{space 20}_cons {c |}{col 27}{res}{space 2}-89.45284{col 39}{space 2} 108.2212{col 50}{space 1}   -0.83{col 59}{space 3}0.410{col 67}{space 4}-304.0118{col 80}{space 3} 125.1062
{txt}{hline 26}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
                  sigma_u {c |} {res} 8.2293141
                  {txt}sigma_e {c |} {res} 1.0543641
                      {txt}rho {c |} {res} .98384962{txt}   (fraction of variance due to u_i)
{hline 26}{c BT}{hline 64}
F test that all u_i=0: F({res}17{txt}, {res}106{txt}) = {res}4.17{col 62}{txt}Prob > F = {res}0.0000
{txt}({res}est5{txt} stored)

{com}. 
{txt}end of do-file

{com}. do "C:\Users\yujeo\AppData\Local\Temp\STD01000000.tmp"
{txt}
{com}. *Table A9: OLS analysis of Anti-China Protests and Polity on Elite Visits
. eststo clear
{txt}
{com}. 
{txt}end of do-file

{com}. do "C:\Users\yujeo\AppData\Local\Temp\STD01000000.tmp"
{txt}
{com}. eststo: xtreg government_visits L1.government_visits  c.protestL1##c.polity2L1   i.year  , fe
{res}
{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}       192
{txt}Group variable: {res}cowcode{txt}{col 49}Number of groups{col 67}={col 69}{res}        23

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.2790{col 63}{txt}min{col 67}={col 69}{res}         2
{txt}     between = {res}0.0965{col 63}{txt}avg{col 67}={col 69}{res}       8.3
{txt}     overall = {res}0.2585{col 63}{txt}max{col 67}={col 69}{res}        16

{txt}{col 49}F({res}20{txt},{res}149{txt}){col 67}={col 70}{res}     2.88
{txt}corr(u_i, Xb){col 16}= {res}0.0440{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0001

{txt}{hline 24}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}      government_visits{col 25}{c |}      Coef.{col 37}   Std. Err.{col 49}      t{col 57}   P>|t|{col 65}     [95% Con{col 78}f. Interval]
{hline 24}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 6}government_visits {c |}
{space 20}L1. {c |}{col 25}{res}{space 2} .1508481{col 37}{space 2}  .080229{col 48}{space 1}    1.88{col 57}{space 3}0.062{col 65}{space 4}-.0076854{col 78}{space 3} .3093816
{txt}{space 23} {c |}
{space 14}protestL1 {c |}{col 25}{res}{space 2} .0042342{col 37}{space 2} .0067382{col 48}{space 1}    0.63{col 57}{space 3}0.531{col 65}{space 4}-.0090806{col 78}{space 3}  .017549
{txt}{space 14}polity2L1 {c |}{col 25}{res}{space 2} .1553086{col 37}{space 2}   .13715{col 48}{space 1}    1.13{col 57}{space 3}0.259{col 65}{space 4}-.1157017{col 78}{space 3} .4263189
{txt}{space 23} {c |}
c.protestL1#c.polity2L1 {c |}{col 25}{res}{space 2}-.0015406{col 37}{space 2} .0008198{col 48}{space 1}   -1.88{col 57}{space 3}0.062{col 65}{space 4}-.0031606{col 78}{space 3} .0000794
{txt}{space 23} {c |}
{space 19}year {c |}
{space 18}2002  {c |}{col 25}{res}{space 2} -13.4616{col 37}{space 2} 2.404598{col 48}{space 1}   -5.60{col 57}{space 3}0.000{col 65}{space 4}-18.21311{col 78}{space 3}-8.710079
{txt}{space 18}2003  {c |}{col 25}{res}{space 2}-7.236122{col 37}{space 2} 2.493618{col 48}{space 1}   -2.90{col 57}{space 3}0.004{col 65}{space 4}-12.16355{col 78}{space 3}-2.308699
{txt}{space 18}2004  {c |}{col 25}{res}{space 2}-7.845025{col 37}{space 2} 2.425006{col 48}{space 1}   -3.24{col 57}{space 3}0.001{col 65}{space 4}-12.63687{col 78}{space 3}-3.053182
{txt}{space 18}2005  {c |}{col 25}{res}{space 2}-6.218814{col 37}{space 2} 2.638492{col 48}{space 1}   -2.36{col 57}{space 3}0.020{col 65}{space 4}-11.43251{col 78}{space 3}-1.005119
{txt}{space 18}2006  {c |}{col 25}{res}{space 2}-5.276276{col 37}{space 2} 2.520176{col 48}{space 1}   -2.09{col 57}{space 3}0.038{col 65}{space 4}-10.25618{col 78}{space 3}-.2963752
{txt}{space 18}2007  {c |}{col 25}{res}{space 2} -6.99628{col 37}{space 2} 2.003381{col 48}{space 1}   -3.49{col 57}{space 3}0.001{col 65}{space 4}-10.95499{col 78}{space 3}-3.037574
{txt}{space 18}2008  {c |}{col 25}{res}{space 2}-6.766886{col 37}{space 2} 2.074088{col 48}{space 1}   -3.26{col 57}{space 3}0.001{col 65}{space 4}-10.86531{col 78}{space 3} -2.66846
{txt}{space 18}2009  {c |}{col 25}{res}{space 2}  -6.8704{col 37}{space 2} 1.949253{col 48}{space 1}   -3.52{col 57}{space 3}0.001{col 65}{space 4}-10.72215{col 78}{space 3} -3.01865
{txt}{space 18}2010  {c |}{col 25}{res}{space 2}-8.109998{col 37}{space 2} 1.894261{col 48}{space 1}   -4.28{col 57}{space 3}0.000{col 65}{space 4}-11.85308{col 78}{space 3}-4.366913
{txt}{space 18}2011  {c |}{col 25}{res}{space 2}-9.370126{col 37}{space 2} 1.931826{col 48}{space 1}   -4.85{col 57}{space 3}0.000{col 65}{space 4}-13.18744{col 78}{space 3}-5.552813
{txt}{space 18}2012  {c |}{col 25}{res}{space 2}-8.249399{col 37}{space 2} 1.929955{col 48}{space 1}   -4.27{col 57}{space 3}0.000{col 65}{space 4}-12.06302{col 78}{space 3}-4.435782
{txt}{space 18}2013  {c |}{col 25}{res}{space 2}-8.906587{col 37}{space 2} 1.951105{col 48}{space 1}   -4.56{col 57}{space 3}0.000{col 65}{space 4}  -12.762{col 78}{space 3}-5.051178
{txt}{space 18}2014  {c |}{col 25}{res}{space 2}-7.845479{col 37}{space 2} 1.979679{col 48}{space 1}   -3.96{col 57}{space 3}0.000{col 65}{space 4}-11.75735{col 78}{space 3}-3.933607
{txt}{space 18}2015  {c |}{col 25}{res}{space 2}-9.319715{col 37}{space 2} 1.988532{col 48}{space 1}   -4.69{col 57}{space 3}0.000{col 65}{space 4}-13.24908{col 78}{space 3} -5.39035
{txt}{space 18}2016  {c |}{col 25}{res}{space 2}-9.413708{col 37}{space 2} 2.216718{col 48}{space 1}   -4.25{col 57}{space 3}0.000{col 65}{space 4}-13.79397{col 78}{space 3}-5.033444
{txt}{space 18}2017  {c |}{col 25}{res}{space 2}-7.997526{col 37}{space 2} 2.216712{col 48}{space 1}   -3.61{col 57}{space 3}0.000{col 65}{space 4}-12.37778{col 78}{space 3}-3.617274
{txt}{space 23} {c |}
{space 18}_cons {c |}{col 25}{res}{space 2} 14.82835{col 37}{space 2} 1.940321{col 48}{space 1}    7.64{col 57}{space 3}0.000{col 65}{space 4} 10.99425{col 78}{space 3} 18.66245
{txt}{hline 24}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
                sigma_u {c |} {res} 2.6995003
                {txt}sigma_e {c |} {res} 3.8259666
                    {txt}rho {c |} {res}  .3323692{txt}   (fraction of variance due to u_i)
{hline 24}{c BT}{hline 64}
F test that all u_i=0: F({res}22{txt}, {res}149{txt}) = {res}2.02{col 62}{txt}Prob > F = {res}0.0075
{txt}({res}est1{txt} stored)

{com}. eststo: xtreg government_visits L1.government_visits   c.protestL1##c.polity2L1  lngdppc lngdp NaturalResources  urban_pop electricity   i.year , fe
{res}
{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}       192
{txt}Group variable: {res}cowcode{txt}{col 49}Number of groups{col 67}={col 69}{res}        23

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.3210{col 63}{txt}min{col 67}={col 69}{res}         2
{txt}     between = {res}0.1857{col 63}{txt}avg{col 67}={col 69}{res}       8.3
{txt}     overall = {res}0.1178{col 63}{txt}max{col 67}={col 69}{res}        16

{txt}{col 49}F({res}25{txt},{res}144{txt}){col 67}={col 70}{res}     2.72
{txt}corr(u_i, Xb){col 16}= {res}-0.9472{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0001

{txt}{hline 24}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}      government_visits{col 25}{c |}      Coef.{col 37}   Std. Err.{col 49}      t{col 57}   P>|t|{col 65}     [95% Con{col 78}f. Interval]
{hline 24}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 6}government_visits {c |}
{space 20}L1. {c |}{col 25}{res}{space 2} .1275129{col 37}{space 2} .0807238{col 48}{space 1}    1.58{col 57}{space 3}0.116{col 65}{space 4}-.0320438{col 78}{space 3} .2870697
{txt}{space 23} {c |}
{space 14}protestL1 {c |}{col 25}{res}{space 2} .0054473{col 37}{space 2} .0067474{col 48}{space 1}    0.81{col 57}{space 3}0.421{col 65}{space 4}-.0078895{col 78}{space 3}  .018784
{txt}{space 14}polity2L1 {c |}{col 25}{res}{space 2} .0793199{col 37}{space 2} .1452735{col 48}{space 1}    0.55{col 57}{space 3}0.586{col 65}{space 4}-.2078241{col 78}{space 3}  .366464
{txt}{space 23} {c |}
c.protestL1#c.polity2L1 {c |}{col 25}{res}{space 2}-.0022567{col 37}{space 2}  .000866{col 48}{space 1}   -2.61{col 57}{space 3}0.010{col 65}{space 4}-.0039685{col 78}{space 3}-.0005449
{txt}{space 23} {c |}
{space 16}lngdppc {c |}{col 25}{res}{space 2}-9.713318{col 37}{space 2} 19.70603{col 48}{space 1}   -0.49{col 57}{space 3}0.623{col 65}{space 4}-48.66376{col 78}{space 3} 29.23712
{txt}{space 18}lngdp {c |}{col 25}{res}{space 2} 4.575442{col 37}{space 2} 19.91508{col 48}{space 1}    0.23{col 57}{space 3}0.819{col 65}{space 4}-34.78821{col 78}{space 3} 43.93909
{txt}{space 7}NaturalResources {c |}{col 25}{res}{space 2} .1157513{col 37}{space 2}  .102081{col 48}{space 1}    1.13{col 57}{space 3}0.259{col 65}{space 4}-.0860194{col 78}{space 3}  .317522
{txt}{space 14}urban_pop {c |}{col 25}{res}{space 2}-.2264354{col 37}{space 2} .2554706{col 48}{space 1}   -0.89{col 57}{space 3}0.377{col 65}{space 4}-.7313922{col 78}{space 3} .2785214
{txt}{space 12}electricity {c |}{col 25}{res}{space 2} .0714934{col 37}{space 2} .0542838{col 48}{space 1}    1.32{col 57}{space 3}0.190{col 65}{space 4}-.0358027{col 78}{space 3} .1787894
{txt}{space 23} {c |}
{space 19}year {c |}
{space 18}2002  {c |}{col 25}{res}{space 2}-13.17459{col 37}{space 2} 2.517424{col 48}{space 1}   -5.23{col 57}{space 3}0.000{col 65}{space 4}-18.15046{col 78}{space 3}-8.198709
{txt}{space 18}2003  {c |}{col 25}{res}{space 2}-7.731699{col 37}{space 2} 2.833409{col 48}{space 1}   -2.73{col 57}{space 3}0.007{col 65}{space 4}-13.33214{col 78}{space 3}-2.131254
{txt}{space 18}2004  {c |}{col 25}{res}{space 2}-7.715631{col 37}{space 2} 3.023004{col 48}{space 1}   -2.55{col 57}{space 3}0.012{col 65}{space 4}-13.69083{col 78}{space 3}-1.740436
{txt}{space 18}2005  {c |}{col 25}{res}{space 2}-6.001618{col 37}{space 2} 3.444851{col 48}{space 1}   -1.74{col 57}{space 3}0.084{col 65}{space 4}-12.81062{col 78}{space 3} .8073898
{txt}{space 18}2006  {c |}{col 25}{res}{space 2}-4.235805{col 37}{space 2} 3.761683{col 48}{space 1}   -1.13{col 57}{space 3}0.262{col 65}{space 4}-11.67105{col 78}{space 3} 3.199444
{txt}{space 18}2007  {c |}{col 25}{res}{space 2}-4.423774{col 37}{space 2} 3.757191{col 48}{space 1}   -1.18{col 57}{space 3}0.241{col 65}{space 4}-11.85014{col 78}{space 3} 3.002595
{txt}{space 18}2008  {c |}{col 25}{res}{space 2} -3.85368{col 37}{space 2} 4.227231{col 48}{space 1}   -0.91{col 57}{space 3}0.363{col 65}{space 4}-12.20912{col 78}{space 3}  4.50176
{txt}{space 18}2009  {c |}{col 25}{res}{space 2}-3.604698{col 37}{space 2} 4.327695{col 48}{space 1}   -0.83{col 57}{space 3}0.406{col 65}{space 4}-12.15871{col 78}{space 3} 4.949315
{txt}{space 18}2010  {c |}{col 25}{res}{space 2}-3.960434{col 37}{space 2} 4.771792{col 48}{space 1}   -0.83{col 57}{space 3}0.408{col 65}{space 4}-13.39224{col 78}{space 3} 5.471371
{txt}{space 18}2011  {c |}{col 25}{res}{space 2}-4.701652{col 37}{space 2} 5.351554{col 48}{space 1}   -0.88{col 57}{space 3}0.381{col 65}{space 4} -15.2794{col 78}{space 3} 5.876096
{txt}{space 18}2012  {c |}{col 25}{res}{space 2}-3.196818{col 37}{space 2} 5.633975{col 48}{space 1}   -0.57{col 57}{space 3}0.571{col 65}{space 4}-14.33279{col 78}{space 3} 7.939157
{txt}{space 18}2013  {c |}{col 25}{res}{space 2}-3.319023{col 37}{space 2} 5.939734{col 48}{space 1}   -0.56{col 57}{space 3}0.577{col 65}{space 4}-15.05935{col 78}{space 3} 8.421307
{txt}{space 18}2014  {c |}{col 25}{res}{space 2}-2.212575{col 37}{space 2} 6.214628{col 48}{space 1}   -0.36{col 57}{space 3}0.722{col 65}{space 4}-14.49625{col 78}{space 3} 10.07111
{txt}{space 18}2015  {c |}{col 25}{res}{space 2}-3.744486{col 37}{space 2} 6.462304{col 48}{space 1}   -0.58{col 57}{space 3}0.563{col 65}{space 4}-16.51772{col 78}{space 3} 9.028744
{txt}{space 18}2016  {c |}{col 25}{res}{space 2}-3.963532{col 37}{space 2} 6.871932{col 48}{space 1}   -0.58{col 57}{space 3}0.565{col 65}{space 4}-17.54642{col 78}{space 3} 9.619356
{txt}{space 18}2017  {c |}{col 25}{res}{space 2}-2.600244{col 37}{space 2} 7.283522{col 48}{space 1}   -0.36{col 57}{space 3}0.722{col 65}{space 4}-16.99667{col 78}{space 3} 11.79618
{txt}{space 23} {c |}
{space 18}_cons {c |}{col 25}{res}{space 2}-28.63654{col 37}{space 2} 352.6102{col 48}{space 1}   -0.08{col 57}{space 3}0.935{col 65}{space 4} -725.597{col 78}{space 3} 668.3239
{txt}{hline 24}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
                sigma_u {c |} {res} 10.485526
                {txt}sigma_e {c |} {res} 3.7767237
                    {txt}rho {c |} {res} .88516502{txt}   (fraction of variance due to u_i)
{hline 24}{c BT}{hline 64}
F test that all u_i=0: F({res}22{txt}, {res}144{txt}) = {res}2.03{col 62}{txt}Prob > F = {res}0.0071
{txt}({res}est2{txt} stored)

{com}. eststo: xtreg government_visits L1.government_visits   c.protestL1##c.polity2L1  lngdppc lngdp NaturalResources  urban_pop electricity FDI_inflow tradeopenness  i.year  , fe
{res}
{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}       171
{txt}Group variable: {res}cowcode{txt}{col 49}Number of groups{col 67}={col 69}{res}        20

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.3722{col 63}{txt}min{col 67}={col 69}{res}         2
{txt}     between = {res}0.2234{col 63}{txt}avg{col 67}={col 69}{res}       8.6
{txt}     overall = {res}0.1256{col 63}{txt}max{col 67}={col 69}{res}        16

{txt}{col 49}F({res}27{txt},{res}124{txt}){col 67}={col 70}{res}     2.72
{txt}corr(u_i, Xb){col 16}= {res}-0.9924{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0001

{txt}{hline 24}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}      government_visits{col 25}{c |}      Coef.{col 37}   Std. Err.{col 49}      t{col 57}   P>|t|{col 65}     [95% Con{col 78}f. Interval]
{hline 24}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 6}government_visits {c |}
{space 20}L1. {c |}{col 25}{res}{space 2} .1311561{col 37}{space 2} .0807874{col 48}{space 1}    1.62{col 57}{space 3}0.107{col 65}{space 4}-.0287449{col 78}{space 3}  .291057
{txt}{space 23} {c |}
{space 14}protestL1 {c |}{col 25}{res}{space 2} .0963292{col 37}{space 2} .0457708{col 48}{space 1}    2.10{col 57}{space 3}0.037{col 65}{space 4}  .005736{col 78}{space 3} .1869225
{txt}{space 14}polity2L1 {c |}{col 25}{res}{space 2} .1076514{col 37}{space 2} .1461664{col 48}{space 1}    0.74{col 57}{space 3}0.463{col 65}{space 4}-.1816529{col 78}{space 3} .3969557
{txt}{space 23} {c |}
c.protestL1#c.polity2L1 {c |}{col 25}{res}{space 2}-.0138273{col 37}{space 2} .0057714{col 48}{space 1}   -2.40{col 57}{space 3}0.018{col 65}{space 4}-.0252505{col 78}{space 3}-.0024042
{txt}{space 23} {c |}
{space 16}lngdppc {c |}{col 25}{res}{space 2}-19.62875{col 37}{space 2} 22.43921{col 48}{space 1}   -0.87{col 57}{space 3}0.383{col 65}{space 4}-64.04223{col 78}{space 3} 24.78473
{txt}{space 18}lngdp {c |}{col 25}{res}{space 2} 15.69893{col 37}{space 2} 22.29048{col 48}{space 1}    0.70{col 57}{space 3}0.483{col 65}{space 4}-28.42018{col 78}{space 3} 59.81803
{txt}{space 7}NaturalResources {c |}{col 25}{res}{space 2} .0446397{col 37}{space 2} .1211247{col 48}{space 1}    0.37{col 57}{space 3}0.713{col 65}{space 4}-.1950999{col 78}{space 3} .2843794
{txt}{space 14}urban_pop {c |}{col 25}{res}{space 2}-.2853023{col 37}{space 2} .2631437{col 48}{space 1}   -1.08{col 57}{space 3}0.280{col 65}{space 4}-.8061375{col 78}{space 3} .2355328
{txt}{space 12}electricity {c |}{col 25}{res}{space 2} .0633202{col 37}{space 2} .0592382{col 48}{space 1}    1.07{col 57}{space 3}0.287{col 65}{space 4}-.0539288{col 78}{space 3} .1805692
{txt}{space 13}FDI_inflow {c |}{col 25}{res}{space 2}-.0036181{col 37}{space 2} .0929694{col 48}{space 1}   -0.04{col 57}{space 3}0.969{col 65}{space 4}-.1876305{col 78}{space 3} .1803942
{txt}{space 10}tradeopenness {c |}{col 25}{res}{space 2} .0539776{col 37}{space 2} .0332612{col 48}{space 1}    1.62{col 57}{space 3}0.107{col 65}{space 4}-.0118556{col 78}{space 3} .1198107
{txt}{space 23} {c |}
{space 19}year {c |}
{space 18}2002  {c |}{col 25}{res}{space 2}-13.36494{col 37}{space 2}  2.48814{col 48}{space 1}   -5.37{col 57}{space 3}0.000{col 65}{space 4}-18.28967{col 78}{space 3}-8.440217
{txt}{space 18}2003  {c |}{col 25}{res}{space 2}-6.317498{col 37}{space 2} 3.036364{col 48}{space 1}   -2.08{col 57}{space 3}0.040{col 65}{space 4}-12.32731{col 78}{space 3}-.3076827
{txt}{space 18}2004  {c |}{col 25}{res}{space 2}-8.431762{col 37}{space 2} 3.163447{col 48}{space 1}   -2.67{col 57}{space 3}0.009{col 65}{space 4}-14.69311{col 78}{space 3}-2.170415
{txt}{space 18}2005  {c |}{col 25}{res}{space 2}-4.742321{col 37}{space 2} 3.903398{col 48}{space 1}   -1.21{col 57}{space 3}0.227{col 65}{space 4}-12.46824{col 78}{space 3} 2.983597
{txt}{space 18}2006  {c |}{col 25}{res}{space 2}-6.152189{col 37}{space 2} 3.931594{col 48}{space 1}   -1.56{col 57}{space 3}0.120{col 65}{space 4}-13.93391{col 78}{space 3} 1.629537
{txt}{space 18}2007  {c |}{col 25}{res}{space 2}-5.764108{col 37}{space 2}  3.81267{col 48}{space 1}   -1.51{col 57}{space 3}0.133{col 65}{space 4}-13.31045{col 78}{space 3} 1.782234
{txt}{space 18}2008  {c |}{col 25}{res}{space 2}-4.998618{col 37}{space 2} 4.374438{col 48}{space 1}   -1.14{col 57}{space 3}0.255{col 65}{space 4}-13.65686{col 78}{space 3} 3.659621
{txt}{space 18}2009  {c |}{col 25}{res}{space 2}-4.994381{col 37}{space 2} 4.385626{col 48}{space 1}   -1.14{col 57}{space 3}0.257{col 65}{space 4}-13.67476{col 78}{space 3} 3.686001
{txt}{space 18}2010  {c |}{col 25}{res}{space 2}-5.803941{col 37}{space 2} 4.847467{col 48}{space 1}   -1.20{col 57}{space 3}0.233{col 65}{space 4}-15.39844{col 78}{space 3} 3.790554
{txt}{space 18}2011  {c |}{col 25}{res}{space 2}-6.825409{col 37}{space 2} 5.438273{col 48}{space 1}   -1.26{col 57}{space 3}0.212{col 65}{space 4}-17.58928{col 78}{space 3} 3.938457
{txt}{space 18}2012  {c |}{col 25}{res}{space 2}-5.230962{col 37}{space 2} 5.727964{col 48}{space 1}   -0.91{col 57}{space 3}0.363{col 65}{space 4}-16.56821{col 78}{space 3} 6.106282
{txt}{space 18}2013  {c |}{col 25}{res}{space 2}-5.637482{col 37}{space 2} 6.063912{col 48}{space 1}   -0.93{col 57}{space 3}0.354{col 65}{space 4}-17.63966{col 78}{space 3} 6.364698
{txt}{space 18}2014  {c |}{col 25}{res}{space 2}-5.333883{col 37}{space 2} 6.361938{col 48}{space 1}   -0.84{col 57}{space 3}0.403{col 65}{space 4}-17.92594{col 78}{space 3} 7.258175
{txt}{space 18}2015  {c |}{col 25}{res}{space 2}-6.318362{col 37}{space 2} 6.643268{col 48}{space 1}   -0.95{col 57}{space 3}0.343{col 65}{space 4}-19.46725{col 78}{space 3} 6.830526
{txt}{space 18}2016  {c |}{col 25}{res}{space 2}-5.710915{col 37}{space 2} 6.970432{col 48}{space 1}   -0.82{col 57}{space 3}0.414{col 65}{space 4}-19.50735{col 78}{space 3} 8.085523
{txt}{space 18}2017  {c |}{col 25}{res}{space 2} -6.54758{col 37}{space 2} 7.409984{col 48}{space 1}   -0.88{col 57}{space 3}0.379{col 65}{space 4}-21.21401{col 78}{space 3} 8.118855
{txt}{space 23} {c |}
{space 18}_cons {c |}{col 25}{res}{space 2} -230.884{col 37}{space 2} 393.1212{col 48}{space 1}   -0.59{col 57}{space 3}0.558{col 65}{space 4}-1008.981{col 78}{space 3} 547.2129
{txt}{hline 24}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
                sigma_u {c |} {res} 29.202868
                {txt}sigma_e {c |} {res} 3.6795793
                    {txt}rho {c |} {res} .98437196{txt}   (fraction of variance due to u_i)
{hline 24}{c BT}{hline 64}
F test that all u_i=0: F({res}19{txt}, {res}124{txt}) = {res}1.72{col 62}{txt}Prob > F = {res}0.0412
{txt}({res}est3{txt} stored)

{com}. eststo: xtreg government_visits L1.government_visits   c.protestL1##c.polity2L1  lngdppc lngdp NaturalResources  urban_pop electricity ChinaTradeOpenness chinese_ofdi_inflow_gdp chineseworkers_capita i.year  , fe
{res}
{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}       138
{txt}Group variable: {res}cowcode{txt}{col 49}Number of groups{col 67}={col 69}{res}        18

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.2222{col 63}{txt}min{col 67}={col 69}{res}         1
{txt}     between = {res}0.0625{col 63}{txt}avg{col 67}={col 69}{res}       7.7
{txt}     overall = {res}0.0544{col 63}{txt}max{col 67}={col 69}{res}        14

{txt}{col 49}F({res}26{txt},{res}94{txt}){col 67}={col 70}{res}     1.03
{txt}corr(u_i, Xb){col 16}= {res}-0.9974{txt}{col 49}Prob > F{col 67}={col 73}{res}0.4356

{txt}{hline 24}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}      government_visits{col 25}{c |}      Coef.{col 37}   Std. Err.{col 49}      t{col 57}   P>|t|{col 65}     [95% Con{col 78}f. Interval]
{hline 24}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 6}government_visits {c |}
{space 20}L1. {c |}{col 25}{res}{space 2} .0984394{col 37}{space 2} .0908392{col 48}{space 1}    1.08{col 57}{space 3}0.281{col 65}{space 4} -.081924{col 78}{space 3} .2788028
{txt}{space 23} {c |}
{space 14}protestL1 {c |}{col 25}{res}{space 2}  .113202{col 37}{space 2} .0615561{col 48}{space 1}    1.84{col 57}{space 3}0.069{col 65}{space 4}-.0090191{col 78}{space 3} .2354231
{txt}{space 14}polity2L1 {c |}{col 25}{res}{space 2} .2655597{col 37}{space 2} .1936803{col 48}{space 1}    1.37{col 57}{space 3}0.174{col 65}{space 4} -.118997{col 78}{space 3} .6501164
{txt}{space 23} {c |}
c.protestL1#c.polity2L1 {c |}{col 25}{res}{space 2}-.0153314{col 37}{space 2} .0077859{col 48}{space 1}   -1.97{col 57}{space 3}0.052{col 65}{space 4}-.0307905{col 78}{space 3} .0001278
{txt}{space 23} {c |}
{space 16}lngdppc {c |}{col 25}{res}{space 2} 20.88202{col 37}{space 2} 27.36449{col 48}{space 1}    0.76{col 57}{space 3}0.447{col 65}{space 4} -33.4508{col 78}{space 3} 75.21485
{txt}{space 18}lngdp {c |}{col 25}{res}{space 2}-24.18065{col 37}{space 2} 27.34436{col 48}{space 1}   -0.88{col 57}{space 3}0.379{col 65}{space 4}-78.47353{col 78}{space 3} 30.11222
{txt}{space 7}NaturalResources {c |}{col 25}{res}{space 2} .2892555{col 37}{space 2} .2005343{col 48}{space 1}    1.44{col 57}{space 3}0.153{col 65}{space 4}-.1089102{col 78}{space 3} .6874211
{txt}{space 14}urban_pop {c |}{col 25}{res}{space 2}-.1026493{col 37}{space 2} .3986982{col 48}{space 1}   -0.26{col 57}{space 3}0.797{col 65}{space 4}-.8942739{col 78}{space 3} .6889753
{txt}{space 12}electricity {c |}{col 25}{res}{space 2}  .041173{col 37}{space 2} .1047552{col 48}{space 1}    0.39{col 57}{space 3}0.695{col 65}{space 4}-.1668208{col 78}{space 3} .2491669
{txt}{space 5}ChinaTradeOpenness {c |}{col 25}{res}{space 2}-.2607318{col 37}{space 2} .1398889{col 48}{space 1}   -1.86{col 57}{space 3}0.065{col 65}{space 4}-.5384845{col 78}{space 3} .0170208
{txt}chinese_ofdi_inflow_gdp {c |}{col 25}{res}{space 2} -.689557{col 37}{space 2} .7224171{col 48}{space 1}   -0.95{col 57}{space 3}0.342{col 65}{space 4}-2.123933{col 78}{space 3} .7448191
{txt}{space 2}chineseworkers_capita {c |}{col 25}{res}{space 2} .0932161{col 37}{space 2} .2122663{col 48}{space 1}    0.44{col 57}{space 3}0.662{col 65}{space 4}-.3282436{col 78}{space 3} .5146759
{txt}{space 23} {c |}
{space 19}year {c |}
{space 18}2004  {c |}{col 25}{res}{space 2} .1494059{col 37}{space 2} 2.813268{col 48}{space 1}    0.05{col 57}{space 3}0.958{col 65}{space 4}-5.436403{col 78}{space 3} 5.735215
{txt}{space 18}2005  {c |}{col 25}{res}{space 2} 3.807407{col 37}{space 2} 3.787451{col 48}{space 1}    1.01{col 57}{space 3}0.317{col 65}{space 4}-3.712666{col 78}{space 3} 11.32748
{txt}{space 18}2006  {c |}{col 25}{res}{space 2} 4.814183{col 37}{space 2} 4.322334{col 48}{space 1}    1.11{col 57}{space 3}0.268{col 65}{space 4}-3.767913{col 78}{space 3} 13.39628
{txt}{space 18}2007  {c |}{col 25}{res}{space 2} 5.277159{col 37}{space 2} 4.012746{col 48}{space 1}    1.32{col 57}{space 3}0.192{col 65}{space 4}-2.690242{col 78}{space 3} 13.24456
{txt}{space 18}2008  {c |}{col 25}{res}{space 2} 7.738688{col 37}{space 2} 4.738558{col 48}{space 1}    1.63{col 57}{space 3}0.106{col 65}{space 4} -1.66983{col 78}{space 3} 17.14721
{txt}{space 18}2009  {c |}{col 25}{res}{space 2} 7.098314{col 37}{space 2} 4.823847{col 48}{space 1}    1.47{col 57}{space 3}0.144{col 65}{space 4}-2.479547{col 78}{space 3} 16.67618
{txt}{space 18}2010  {c |}{col 25}{res}{space 2} 5.029218{col 37}{space 2} 5.523642{col 48}{space 1}    0.91{col 57}{space 3}0.365{col 65}{space 4}-5.938102{col 78}{space 3} 15.99654
{txt}{space 18}2011  {c |}{col 25}{res}{space 2} 5.246723{col 37}{space 2} 6.332828{col 48}{space 1}    0.83{col 57}{space 3}0.409{col 65}{space 4}-7.327255{col 78}{space 3}  17.8207
{txt}{space 18}2012  {c |}{col 25}{res}{space 2} 7.675444{col 37}{space 2} 6.715316{col 48}{space 1}    1.14{col 57}{space 3}0.256{col 65}{space 4}-5.657974{col 78}{space 3} 21.00886
{txt}{space 18}2013  {c |}{col 25}{res}{space 2} 7.400891{col 37}{space 2} 7.209816{col 48}{space 1}    1.03{col 57}{space 3}0.307{col 65}{space 4}-6.914368{col 78}{space 3} 21.71615
{txt}{space 18}2014  {c |}{col 25}{res}{space 2}  8.44382{col 37}{space 2} 7.479689{col 48}{space 1}    1.13{col 57}{space 3}0.262{col 65}{space 4}-6.407278{col 78}{space 3} 23.29492
{txt}{space 18}2015  {c |}{col 25}{res}{space 2} 7.380639{col 37}{space 2} 7.712076{col 48}{space 1}    0.96{col 57}{space 3}0.341{col 65}{space 4}-7.931867{col 78}{space 3} 22.69315
{txt}{space 18}2016  {c |}{col 25}{res}{space 2}  8.22678{col 37}{space 2} 8.039754{col 48}{space 1}    1.02{col 57}{space 3}0.309{col 65}{space 4}-7.736339{col 78}{space 3}  24.1899
{txt}{space 18}2017  {c |}{col 25}{res}{space 2} 7.384939{col 37}{space 2} 8.609318{col 48}{space 1}    0.86{col 57}{space 3}0.393{col 65}{space 4}-9.709065{col 78}{space 3} 24.47894
{txt}{space 23} {c |}
{space 18}_cons {c |}{col 25}{res}{space 2} 454.7401{col 37}{space 2} 489.7954{col 48}{space 1}    0.93{col 57}{space 3}0.356{col 65}{space 4}-517.7602{col 78}{space 3}  1427.24
{txt}{hline 24}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
                sigma_u {c |} {res} 42.227855
                {txt}sigma_e {c |} {res} 3.8503506
                    {txt}rho {c |} {res} .99175469{txt}   (fraction of variance due to u_i)
{hline 24}{c BT}{hline 64}
F test that all u_i=0: F({res}17{txt}, {res}94{txt}) = {res}2.12{col 62}{txt}Prob > F = {res}0.0117
{txt}({res}est4{txt} stored)

{com}. eststo: xtreg government_visits L1.government_visits   c.protestL1##c.polity2L1  lngdppc lngdp NaturalResources  urban_pop electricity FDI_inflow tradeopenness chineseworkers_capita  bri_carryover  i.year  , fe
{res}
{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}       165
{txt}Group variable: {res}cowcode{txt}{col 49}Number of groups{col 67}={col 69}{res}        19

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.3666{col 63}{txt}min{col 67}={col 69}{res}         1
{txt}     between = {res}0.0508{col 63}{txt}avg{col 67}={col 69}{res}       8.7
{txt}     overall = {res}0.0827{col 63}{txt}max{col 67}={col 69}{res}        16

{txt}{col 49}F({res}29{txt},{res}117{txt}){col 67}={col 70}{res}     2.33
{txt}corr(u_i, Xb){col 16}= {res}-0.9899{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0008

{txt}{hline 24}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}      government_visits{col 25}{c |}      Coef.{col 37}   Std. Err.{col 49}      t{col 57}   P>|t|{col 65}     [95% Con{col 78}f. Interval]
{hline 24}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 6}government_visits {c |}
{space 20}L1. {c |}{col 25}{res}{space 2} .1342187{col 37}{space 2} .0834617{col 48}{space 1}    1.61{col 57}{space 3}0.110{col 65}{space 4}-.0310728{col 78}{space 3} .2995102
{txt}{space 23} {c |}
{space 14}protestL1 {c |}{col 25}{res}{space 2} .0957468{col 37}{space 2} .0494466{col 48}{space 1}    1.94{col 57}{space 3}0.055{col 65}{space 4}-.0021796{col 78}{space 3} .1936731
{txt}{space 14}polity2L1 {c |}{col 25}{res}{space 2} .1016271{col 37}{space 2} .1523704{col 48}{space 1}    0.67{col 57}{space 3}0.506{col 65}{space 4}-.2001345{col 78}{space 3} .4033887
{txt}{space 23} {c |}
c.protestL1#c.polity2L1 {c |}{col 25}{res}{space 2}-.0137824{col 37}{space 2} .0063317{col 48}{space 1}   -2.18{col 57}{space 3}0.032{col 65}{space 4} -.026322{col 78}{space 3}-.0012428
{txt}{space 23} {c |}
{space 16}lngdppc {c |}{col 25}{res}{space 2} -17.4671{col 37}{space 2} 24.05873{col 48}{space 1}   -0.73{col 57}{space 3}0.469{col 65}{space 4}-65.11415{col 78}{space 3} 30.17995
{txt}{space 18}lngdp {c |}{col 25}{res}{space 2} 13.71967{col 37}{space 2} 23.81866{col 48}{space 1}    0.58{col 57}{space 3}0.566{col 65}{space 4}-33.45193{col 78}{space 3} 60.89127
{txt}{space 7}NaturalResources {c |}{col 25}{res}{space 2}-.0125559{col 37}{space 2} .1546462{col 48}{space 1}   -0.08{col 57}{space 3}0.935{col 65}{space 4}-.3188246{col 78}{space 3} .2937128
{txt}{space 14}urban_pop {c |}{col 25}{res}{space 2}-.3371391{col 37}{space 2} .2806394{col 48}{space 1}   -1.20{col 57}{space 3}0.232{col 65}{space 4}-.8929307{col 78}{space 3} .2186526
{txt}{space 12}electricity {c |}{col 25}{res}{space 2} .0445824{col 37}{space 2} .0662743{col 48}{space 1}    0.67{col 57}{space 3}0.502{col 65}{space 4}-.0866704{col 78}{space 3} .1758351
{txt}{space 13}FDI_inflow {c |}{col 25}{res}{space 2} .0073165{col 37}{space 2}  .100284{col 48}{space 1}    0.07{col 57}{space 3}0.942{col 65}{space 4}-.1912906{col 78}{space 3} .2059237
{txt}{space 10}tradeopenness {c |}{col 25}{res}{space 2} .0594824{col 37}{space 2} .0366525{col 48}{space 1}    1.62{col 57}{space 3}0.107{col 65}{space 4}-.0131059{col 78}{space 3} .1320708
{txt}{space 2}chineseworkers_capita {c |}{col 25}{res}{space 2}-.0000867{col 37}{space 2} .1648095{col 48}{space 1}   -0.00{col 57}{space 3}1.000{col 65}{space 4}-.3264832{col 78}{space 3} .3263099
{txt}{space 10}bri_carryover {c |}{col 25}{res}{space 2} -.383293{col 37}{space 2} 1.499205{col 48}{space 1}   -0.26{col 57}{space 3}0.799{col 65}{space 4}-3.352389{col 78}{space 3} 2.585803
{txt}{space 23} {c |}
{space 19}year {c |}
{space 18}2002  {c |}{col 25}{res}{space 2}-13.32965{col 37}{space 2} 2.565603{col 48}{space 1}   -5.20{col 57}{space 3}0.000{col 65}{space 4}-18.41069{col 78}{space 3}-8.248602
{txt}{space 18}2003  {c |}{col 25}{res}{space 2}-5.972896{col 37}{space 2} 3.165628{col 48}{space 1}   -1.89{col 57}{space 3}0.062{col 65}{space 4}-12.24226{col 78}{space 3} .2964638
{txt}{space 18}2004  {c |}{col 25}{res}{space 2}-8.184634{col 37}{space 2} 3.296019{col 48}{space 1}   -2.48{col 57}{space 3}0.014{col 65}{space 4}-14.71223{col 78}{space 3}-1.657041
{txt}{space 18}2005  {c |}{col 25}{res}{space 2}-4.406201{col 37}{space 2} 4.075066{col 48}{space 1}   -1.08{col 57}{space 3}0.282{col 65}{space 4}-12.47666{col 78}{space 3} 3.664253
{txt}{space 18}2006  {c |}{col 25}{res}{space 2}  -5.4992{col 37}{space 2} 4.328981{col 48}{space 1}   -1.27{col 57}{space 3}0.206{col 65}{space 4}-14.07252{col 78}{space 3}  3.07412
{txt}{space 18}2007  {c |}{col 25}{res}{space 2}-5.336256{col 37}{space 2} 4.047028{col 48}{space 1}   -1.32{col 57}{space 3}0.190{col 65}{space 4}-13.35118{col 78}{space 3} 2.678671
{txt}{space 18}2008  {c |}{col 25}{res}{space 2}-4.499524{col 37}{space 2} 4.639104{col 48}{space 1}   -0.97{col 57}{space 3}0.334{col 65}{space 4}-13.68703{col 78}{space 3} 4.687979
{txt}{space 18}2009  {c |}{col 25}{res}{space 2}-4.234551{col 37}{space 2} 4.719282{col 48}{space 1}   -0.90{col 57}{space 3}0.371{col 65}{space 4}-13.58084{col 78}{space 3} 5.111738
{txt}{space 18}2010  {c |}{col 25}{res}{space 2}-5.122047{col 37}{space 2}  5.18481{col 48}{space 1}   -0.99{col 57}{space 3}0.325{col 65}{space 4}-15.39029{col 78}{space 3} 5.146197
{txt}{space 18}2011  {c |}{col 25}{res}{space 2}-6.032878{col 37}{space 2} 5.847785{col 48}{space 1}   -1.03{col 57}{space 3}0.304{col 65}{space 4}-17.61411{col 78}{space 3} 5.548355
{txt}{space 18}2012  {c |}{col 25}{res}{space 2}-4.542004{col 37}{space 2} 6.167797{col 48}{space 1}   -0.74{col 57}{space 3}0.463{col 65}{space 4}  -16.757{col 78}{space 3} 7.672994
{txt}{space 18}2013  {c |}{col 25}{res}{space 2}-4.767021{col 37}{space 2}  6.58918{col 48}{space 1}   -0.72{col 57}{space 3}0.471{col 65}{space 4}-17.81655{col 78}{space 3} 8.282505
{txt}{space 18}2014  {c |}{col 25}{res}{space 2}-4.365364{col 37}{space 2} 6.898796{col 48}{space 1}   -0.63{col 57}{space 3}0.528{col 65}{space 4}-18.02807{col 78}{space 3} 9.297339
{txt}{space 18}2015  {c |}{col 25}{res}{space 2}-5.306199{col 37}{space 2} 7.206938{col 48}{space 1}   -0.74{col 57}{space 3}0.463{col 65}{space 4}-19.57916{col 78}{space 3} 8.966764
{txt}{space 18}2016  {c |}{col 25}{res}{space 2}-4.441023{col 37}{space 2} 7.600673{col 48}{space 1}   -0.58{col 57}{space 3}0.560{col 65}{space 4}-19.49376{col 78}{space 3} 10.61171
{txt}{space 18}2017  {c |}{col 25}{res}{space 2}-5.643363{col 37}{space 2} 8.183057{col 48}{space 1}   -0.69{col 57}{space 3}0.492{col 65}{space 4}-21.84948{col 78}{space 3} 10.56275
{txt}{space 23} {c |}
{space 18}_cons {c |}{col 25}{res}{space 2}   -196.3{col 37}{space 2} 422.2045{col 48}{space 1}   -0.46{col 57}{space 3}0.643{col 65}{space 4}-1032.454{col 78}{space 3} 639.8538
{txt}{hline 24}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
                sigma_u {c |} {res} 25.108028
                {txt}sigma_e {c |} {res} 3.7661774
                    {txt}rho {c |} {res} .97799542{txt}   (fraction of variance due to u_i)
{hline 24}{c BT}{hline 64}
F test that all u_i=0: F({res}18{txt}, {res}117{txt}) = {res}1.22{col 62}{txt}Prob > F = {res}0.2584
{txt}({res}est5{txt} stored)

{com}. 
{txt}end of do-file

{com}. run "C:\Users\yujeo\AppData\Local\Temp\STD01000000.tmp"
. do "C:\Users\yujeo\AppData\Local\Temp\STD01000000.tmp"
{txt}
{com}. eststo clear
{txt}
{com}. eststo: xtnbreg government_visits L1.government_visits  c.protestpcL1##c.polity2L1   i.year   , fe
{txt}note: 1 group (4 obs) dropped because of all zero outcomes
{res}
{txt}Iteration 0:{space 3}log likelihood = {res:-424.89761}  
Iteration 1:{space 3}log likelihood = {res:-416.38713}  
Iteration 2:{space 3}log likelihood = {res:-415.82548}  
Iteration 3:{space 3}log likelihood = {res: -415.8243}  
Iteration 4:{space 3}log likelihood = {res: -415.8243}  
{res}
{txt}Conditional FE negative binomial regression{col 49}Number of obs{col 67}={col 69}{res}       188
{txt}Group variable: {res}cowcode{col 49}{txt}Number of groups{col 67}={col 69}{res}        22

{txt}{col 49}Obs per group:
{col 63}min{col 67}={col 69}{res}         2
{txt}{col 63}avg{col 67}={col 69}{res}       8.5
{txt}{col 63}max{col 67}={col 69}{res}        16

{txt}{col 49}Wald chi2({res}20{txt}){col 67}={col 70}{res}    59.28
{txt}Log likelihood  = {res} -415.8243{col 49}{txt}Prob > chi2{col 67}={res}{col 73}0.0000

{txt}{hline 26}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}        government_visits{col 27}{c |}      Coef.{col 39}   Std. Err.{col 51}      z{col 59}   P>|z|{col 67}     [95% Con{col 80}f. Interval]
{hline 26}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 8}government_visits {c |}
{space 22}L1. {c |}{col 27}{res}{space 2} .0091225{col 39}{space 2} .0080052{col 50}{space 1}    1.14{col 59}{space 3}0.254{col 67}{space 4}-.0065673{col 80}{space 3} .0248123
{txt}{space 25} {c |}
{space 14}protestpcL1 {c |}{col 27}{res}{space 2} 8.607873{col 39}{space 2} 3.973251{col 50}{space 1}    2.17{col 59}{space 3}0.030{col 67}{space 4} .8204441{col 80}{space 3}  16.3953
{txt}{space 16}polity2L1 {c |}{col 27}{res}{space 2} .0108446{col 39}{space 2} .0143446{col 50}{space 1}    0.76{col 59}{space 3}0.450{col 67}{space 4}-.0172703{col 80}{space 3} .0389596
{txt}{space 25} {c |}
c.protestpcL1#c.polity2L1 {c |}{col 27}{res}{space 2}-1.195599{col 39}{space 2} .4784954{col 50}{space 1}   -2.50{col 59}{space 3}0.012{col 67}{space 4}-2.133433{col 80}{space 3} -.257765
{txt}{space 25} {c |}
{space 21}year {c |}
{space 20}2002  {c |}{col 27}{res}{space 2}-1.199233{col 39}{space 2} .2531063{col 50}{space 1}   -4.74{col 59}{space 3}0.000{col 67}{space 4}-1.695312{col 80}{space 3}-.7031539
{txt}{space 20}2003  {c |}{col 27}{res}{space 2}-.5559302{col 39}{space 2}   .22997{col 50}{space 1}   -2.42{col 59}{space 3}0.016{col 67}{space 4}-1.006663{col 80}{space 3}-.1051973
{txt}{space 20}2004  {c |}{col 27}{res}{space 2}-.5723162{col 39}{space 2} .2178761{col 50}{space 1}   -2.63{col 59}{space 3}0.009{col 67}{space 4}-.9993455{col 80}{space 3} -.145287
{txt}{space 20}2005  {c |}{col 27}{res}{space 2}-.4335809{col 39}{space 2} .2379915{col 50}{space 1}   -1.82{col 59}{space 3}0.068{col 67}{space 4}-.9000356{col 80}{space 3} .0328738
{txt}{space 20}2006  {c |}{col 27}{res}{space 2} -.324443{col 39}{space 2}  .224237{col 50}{space 1}   -1.45{col 59}{space 3}0.148{col 67}{space 4}-.7639395{col 80}{space 3} .1150535
{txt}{space 20}2007  {c |}{col 27}{res}{space 2}-.5307402{col 39}{space 2} .1731627{col 50}{space 1}   -3.06{col 59}{space 3}0.002{col 67}{space 4}-.8701328{col 80}{space 3}-.1913476
{txt}{space 20}2008  {c |}{col 27}{res}{space 2}-.5015164{col 39}{space 2} .1839356{col 50}{space 1}   -2.73{col 59}{space 3}0.006{col 67}{space 4}-.8620236{col 80}{space 3}-.1410092
{txt}{space 20}2009  {c |}{col 27}{res}{space 2}-.5358234{col 39}{space 2} .1658977{col 50}{space 1}   -3.23{col 59}{space 3}0.001{col 67}{space 4}-.8609769{col 80}{space 3}  -.21067
{txt}{space 20}2010  {c |}{col 27}{res}{space 2}-.6452176{col 39}{space 2} .1613993{col 50}{space 1}   -4.00{col 59}{space 3}0.000{col 67}{space 4}-.9615544{col 80}{space 3}-.3288808
{txt}{space 20}2011  {c |}{col 27}{res}{space 2}-.8001044{col 39}{space 2} .1718112{col 50}{space 1}   -4.66{col 59}{space 3}0.000{col 67}{space 4}-1.136848{col 80}{space 3}-.4633606
{txt}{space 20}2012  {c |}{col 27}{res}{space 2}-.6932974{col 39}{space 2} .1703146{col 50}{space 1}   -4.07{col 59}{space 3}0.000{col 67}{space 4}-1.027108{col 80}{space 3}-.3594869
{txt}{space 20}2013  {c |}{col 27}{res}{space 2}-.7584977{col 39}{space 2} .1688568{col 50}{space 1}   -4.49{col 59}{space 3}0.000{col 67}{space 4}-1.089451{col 80}{space 3}-.4275444
{txt}{space 20}2014  {c |}{col 27}{res}{space 2}-.6336811{col 39}{space 2} .1717639{col 50}{space 1}   -3.69{col 59}{space 3}0.000{col 67}{space 4}-.9703321{col 80}{space 3}-.2970301
{txt}{space 20}2015  {c |}{col 27}{res}{space 2}-.8736693{col 39}{space 2} .1788318{col 50}{space 1}   -4.89{col 59}{space 3}0.000{col 67}{space 4}-1.224173{col 80}{space 3}-.5231654
{txt}{space 20}2016  {c |}{col 27}{res}{space 2}-.8635929{col 39}{space 2} .2145166{col 50}{space 1}   -4.03{col 59}{space 3}0.000{col 67}{space 4}-1.284038{col 80}{space 3}-.4431481
{txt}{space 20}2017  {c |}{col 27}{res}{space 2} -.746397{col 39}{space 2} .2107441{col 50}{space 1}   -3.54{col 59}{space 3}0.000{col 67}{space 4}-1.159448{col 80}{space 3}-.3333462
{txt}{space 25} {c |}
{space 20}_cons {c |}{col 27}{res}{space 2} 3.501207{col 39}{space 2} .3965749{col 50}{space 1}    8.83{col 59}{space 3}0.000{col 67}{space 4} 2.723935{col 80}{space 3}  4.27848
{txt}{hline 26}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
({res}est1{txt} stored)

{com}. eststo: xtnbreg government_visits L1.government_visits   c.protestpcL1##c.polity2L1  lngdppc lngdp NaturalResources  urban_pop electricity   i.year   , fe
{txt}note: 1 group (4 obs) dropped because of all zero outcomes
{res}
{txt}Iteration 0:{space 3}log likelihood = {res:-423.22669}  
Iteration 1:{space 3}log likelihood = {res:-411.47507}  
Iteration 2:{space 3}log likelihood = {res: -410.1533}  
Iteration 3:{space 3}log likelihood = {res:-410.09097}  
Iteration 4:{space 3}log likelihood = {res:-410.09042}  
Iteration 5:{space 3}log likelihood = {res:-410.09042}  
{res}
{txt}Conditional FE negative binomial regression{col 49}Number of obs{col 67}={col 69}{res}       188
{txt}Group variable: {res}cowcode{col 49}{txt}Number of groups{col 67}={col 69}{res}        22

{txt}{col 49}Obs per group:
{col 63}min{col 67}={col 69}{res}         2
{txt}{col 63}avg{col 67}={col 69}{res}       8.5
{txt}{col 63}max{col 67}={col 69}{res}        16

{txt}{col 49}Wald chi2({res}25{txt}){col 67}={col 70}{res}    70.59
{txt}Log likelihood  = {res}-410.09042{col 49}{txt}Prob > chi2{col 67}={res}{col 73}0.0000

{txt}{hline 26}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}        government_visits{col 27}{c |}      Coef.{col 39}   Std. Err.{col 51}      z{col 59}   P>|z|{col 67}     [95% Con{col 80}f. Interval]
{hline 26}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 8}government_visits {c |}
{space 22}L1. {c |}{col 27}{res}{space 2} .0070576{col 39}{space 2}  .008454{col 50}{space 1}    0.83{col 59}{space 3}0.404{col 67}{space 4}-.0095118{col 80}{space 3} .0236271
{txt}{space 25} {c |}
{space 14}protestpcL1 {c |}{col 27}{res}{space 2} 10.59412{col 39}{space 2} 3.860838{col 50}{space 1}    2.74{col 59}{space 3}0.006{col 67}{space 4} 3.027021{col 80}{space 3} 18.16123
{txt}{space 16}polity2L1 {c |}{col 27}{res}{space 2} .0083838{col 39}{space 2} .0146443{col 50}{space 1}    0.57{col 59}{space 3}0.567{col 67}{space 4}-.0203185{col 80}{space 3} .0370862
{txt}{space 25} {c |}
c.protestpcL1#c.polity2L1 {c |}{col 27}{res}{space 2}-1.372429{col 39}{space 2}  .471773{col 50}{space 1}   -2.91{col 59}{space 3}0.004{col 67}{space 4}-2.297087{col 80}{space 3}-.4477707
{txt}{space 25} {c |}
{space 18}lngdppc {c |}{col 27}{res}{space 2}-.2207268{col 39}{space 2} .3133554{col 50}{space 1}   -0.70{col 59}{space 3}0.481{col 67}{space 4}-.8348921{col 80}{space 3} .3934384
{txt}{space 20}lngdp {c |}{col 27}{res}{space 2}-.3157822{col 39}{space 2} .2544135{col 50}{space 1}   -1.24{col 59}{space 3}0.215{col 67}{space 4}-.8144235{col 80}{space 3} .1828591
{txt}{space 9}NaturalResources {c |}{col 27}{res}{space 2} .0123005{col 39}{space 2} .0109604{col 50}{space 1}    1.12{col 59}{space 3}0.262{col 67}{space 4}-.0091815{col 80}{space 3} .0337824
{txt}{space 16}urban_pop {c |}{col 27}{res}{space 2}-.0080653{col 39}{space 2} .0211333{col 50}{space 1}   -0.38{col 59}{space 3}0.703{col 67}{space 4}-.0494858{col 80}{space 3} .0333551
{txt}{space 14}electricity {c |}{col 27}{res}{space 2} .0048785{col 39}{space 2} .0049942{col 50}{space 1}    0.98{col 59}{space 3}0.329{col 67}{space 4}  -.00491{col 80}{space 3} .0146671
{txt}{space 25} {c |}
{space 21}year {c |}
{space 20}2002  {c |}{col 27}{res}{space 2} -1.16294{col 39}{space 2} .2728971{col 50}{space 1}   -4.26{col 59}{space 3}0.000{col 67}{space 4}-1.697809{col 80}{space 3} -.628072
{txt}{space 20}2003  {c |}{col 27}{res}{space 2}-.5323399{col 39}{space 2} .2495607{col 50}{space 1}   -2.13{col 59}{space 3}0.033{col 67}{space 4} -1.02147{col 80}{space 3}  -.04321
{txt}{space 20}2004  {c |}{col 27}{res}{space 2}-.4586817{col 39}{space 2} .2586143{col 50}{space 1}   -1.77{col 59}{space 3}0.076{col 67}{space 4}-.9655565{col 80}{space 3} .0481931
{txt}{space 20}2005  {c |}{col 27}{res}{space 2}-.3120472{col 39}{space 2} .2650034{col 50}{space 1}   -1.18{col 59}{space 3}0.239{col 67}{space 4}-.8314444{col 80}{space 3}   .20735
{txt}{space 20}2006  {c |}{col 27}{res}{space 2}-.0882438{col 39}{space 2}  .251929{col 50}{space 1}   -0.35{col 59}{space 3}0.726{col 67}{space 4}-.5820155{col 80}{space 3} .4055279
{txt}{space 20}2007  {c |}{col 27}{res}{space 2}-.1781707{col 39}{space 2} .2497113{col 50}{space 1}   -0.71{col 59}{space 3}0.476{col 67}{space 4}-.6675959{col 80}{space 3} .3112545
{txt}{space 20}2008  {c |}{col 27}{res}{space 2}-.0985687{col 39}{space 2} .2666721{col 50}{space 1}   -0.37{col 59}{space 3}0.712{col 67}{space 4}-.6212363{col 80}{space 3}  .424099
{txt}{space 20}2009  {c |}{col 27}{res}{space 2}-.0913085{col 39}{space 2} .2650916{col 50}{space 1}   -0.34{col 59}{space 3}0.731{col 67}{space 4}-.6108785{col 80}{space 3} .4282615
{txt}{space 20}2010  {c |}{col 27}{res}{space 2}-.0951802{col 39}{space 2} .2846835{col 50}{space 1}   -0.33{col 59}{space 3}0.738{col 67}{space 4}-.6531495{col 80}{space 3} .4627892
{txt}{space 20}2011  {c |}{col 27}{res}{space 2}-.1949594{col 39}{space 2} .3214395{col 50}{space 1}   -0.61{col 59}{space 3}0.544{col 67}{space 4}-.8249693{col 80}{space 3} .4350504
{txt}{space 20}2012  {c |}{col 27}{res}{space 2} -.056708{col 39}{space 2} .3315279{col 50}{space 1}   -0.17{col 59}{space 3}0.864{col 67}{space 4}-.7064907{col 80}{space 3} .5930747
{txt}{space 20}2013  {c |}{col 27}{res}{space 2} -.062436{col 39}{space 2} .3427685{col 50}{space 1}   -0.18{col 59}{space 3}0.855{col 67}{space 4}-.7342499{col 80}{space 3} .6093778
{txt}{space 20}2014  {c |}{col 27}{res}{space 2} .0890957{col 39}{space 2} .3534562{col 50}{space 1}    0.25{col 59}{space 3}0.801{col 67}{space 4}-.6036656{col 80}{space 3} .7818571
{txt}{space 20}2015  {c |}{col 27}{res}{space 2}-.1414293{col 39}{space 2} .3585494{col 50}{space 1}   -0.39{col 59}{space 3}0.693{col 67}{space 4}-.8441732{col 80}{space 3} .5613146
{txt}{space 20}2016  {c |}{col 27}{res}{space 2} -.181109{col 39}{space 2} .3855419{col 50}{space 1}   -0.47{col 59}{space 3}0.639{col 67}{space 4}-.9367572{col 80}{space 3} .5745392
{txt}{space 20}2017  {c |}{col 27}{res}{space 2} .0221652{col 39}{space 2} .3952921{col 50}{space 1}    0.06{col 59}{space 3}0.955{col 67}{space 4}-.7525931{col 80}{space 3} .7969235
{txt}{space 25} {c |}
{space 20}_cons {c |}{col 27}{res}{space 2} 12.73629{col 39}{space 2} 5.241662{col 50}{space 1}    2.43{col 59}{space 3}0.015{col 67}{space 4} 2.462821{col 80}{space 3} 23.00976
{txt}{hline 26}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
({res}est2{txt} stored)

{com}. eststo: xtnbreg government_visits L1.government_visits   c.protestpcL1##c.polity2L1  lngdppc lngdp NaturalResources  urban_pop electricity FDI_inflow tradeopenness  i.year   , fe
{txt}note: 1 group (4 obs) dropped because of all zero outcomes
{res}
{txt}Iteration 0:{space 3}log likelihood = {res:-371.89126}  
Iteration 1:{space 3}log likelihood = {res:-361.41577}  
Iteration 2:{space 3}log likelihood = {res:-359.95896}  
Iteration 3:{space 3}log likelihood = {res:-359.82395}  
Iteration 4:{space 3}log likelihood = {res:-359.82302}  
Iteration 5:{space 3}log likelihood = {res:-359.82302}  
{res}
{txt}Conditional FE negative binomial regression{col 49}Number of obs{col 67}={col 69}{res}       167
{txt}Group variable: {res}cowcode{col 49}{txt}Number of groups{col 67}={col 69}{res}        19

{txt}{col 49}Obs per group:
{col 63}min{col 67}={col 69}{res}         2
{txt}{col 63}avg{col 67}={col 69}{res}       8.8
{txt}{col 63}max{col 67}={col 69}{res}        16

{txt}{col 49}Wald chi2({res}27{txt}){col 67}={col 70}{res}    74.00
{txt}Log likelihood  = {res}-359.82302{col 49}{txt}Prob > chi2{col 67}={res}{col 73}0.0000

{txt}{hline 26}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}        government_visits{col 27}{c |}      Coef.{col 39}   Std. Err.{col 51}      z{col 59}   P>|z|{col 67}     [95% Con{col 80}f. Interval]
{hline 26}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 8}government_visits {c |}
{space 22}L1. {c |}{col 27}{res}{space 2} .0076077{col 39}{space 2} .0084246{col 50}{space 1}    0.90{col 59}{space 3}0.367{col 67}{space 4}-.0089042{col 80}{space 3} .0241196
{txt}{space 25} {c |}
{space 14}protestpcL1 {c |}{col 27}{res}{space 2} 22.90454{col 39}{space 2} 11.66991{col 50}{space 1}    1.96{col 59}{space 3}0.050{col 67}{space 4} .0319415{col 80}{space 3} 45.77714
{txt}{space 16}polity2L1 {c |}{col 27}{res}{space 2} .0104931{col 39}{space 2} .0142601{col 50}{space 1}    0.74{col 59}{space 3}0.462{col 67}{space 4}-.0174561{col 80}{space 3} .0384423
{txt}{space 25} {c |}
c.protestpcL1#c.polity2L1 {c |}{col 27}{res}{space 2}-3.040504{col 39}{space 2} 1.560707{col 50}{space 1}   -1.95{col 59}{space 3}0.051{col 67}{space 4}-6.099434{col 80}{space 3} .0184258
{txt}{space 25} {c |}
{space 18}lngdppc {c |}{col 27}{res}{space 2}-.1768094{col 39}{space 2} .3962168{col 50}{space 1}   -0.45{col 59}{space 3}0.655{col 67}{space 4}  -.95338{col 80}{space 3} .5997612
{txt}{space 20}lngdp {c |}{col 27}{res}{space 2}-.2507651{col 39}{space 2} .3108057{col 50}{space 1}   -0.81{col 59}{space 3}0.420{col 67}{space 4}-.8599331{col 80}{space 3} .3584029
{txt}{space 9}NaturalResources {c |}{col 27}{res}{space 2} .0022631{col 39}{space 2} .0145316{col 50}{space 1}    0.16{col 59}{space 3}0.876{col 67}{space 4}-.0262183{col 80}{space 3} .0307444
{txt}{space 16}urban_pop {c |}{col 27}{res}{space 2}-.0269628{col 39}{space 2} .0248189{col 50}{space 1}   -1.09{col 59}{space 3}0.277{col 67}{space 4} -.075607{col 80}{space 3} .0216815
{txt}{space 14}electricity {c |}{col 27}{res}{space 2}-.0008685{col 39}{space 2} .0056559{col 50}{space 1}   -0.15{col 59}{space 3}0.878{col 67}{space 4}-.0119539{col 80}{space 3} .0102168
{txt}{space 15}FDI_inflow {c |}{col 27}{res}{space 2} .0056332{col 39}{space 2} .0109133{col 50}{space 1}    0.52{col 59}{space 3}0.606{col 67}{space 4}-.0157564{col 80}{space 3} .0270228
{txt}{space 12}tradeopenness {c |}{col 27}{res}{space 2}  .006645{col 39}{space 2} .0030966{col 50}{space 1}    2.15{col 59}{space 3}0.032{col 67}{space 4} .0005757{col 80}{space 3} .0127142
{txt}{space 25} {c |}
{space 21}year {c |}
{space 20}2002  {c |}{col 27}{res}{space 2}-1.116797{col 39}{space 2} .2612053{col 50}{space 1}   -4.28{col 59}{space 3}0.000{col 67}{space 4} -1.62875{col 80}{space 3}-.6048443
{txt}{space 20}2003  {c |}{col 27}{res}{space 2}-.2898087{col 39}{space 2} .2842901{col 50}{space 1}   -1.02{col 59}{space 3}0.308{col 67}{space 4} -.847007{col 80}{space 3} .2673897
{txt}{space 20}2004  {c |}{col 27}{res}{space 2}-.4073382{col 39}{space 2} .2777926{col 50}{space 1}   -1.47{col 59}{space 3}0.143{col 67}{space 4}-.9518018{col 80}{space 3} .1371253
{txt}{space 20}2005  {c |}{col 27}{res}{space 2}-.0454854{col 39}{space 2} .3398645{col 50}{space 1}   -0.13{col 59}{space 3}0.894{col 67}{space 4}-.7116075{col 80}{space 3} .6206368
{txt}{space 20}2006  {c |}{col 27}{res}{space 2}-.1333614{col 39}{space 2} .3001741{col 50}{space 1}   -0.44{col 59}{space 3}0.657{col 67}{space 4}-.7216918{col 80}{space 3} .4549691
{txt}{space 20}2007  {c |}{col 27}{res}{space 2}-.1436858{col 39}{space 2} .2715587{col 50}{space 1}   -0.53{col 59}{space 3}0.597{col 67}{space 4} -.675931{col 80}{space 3} .3885594
{txt}{space 20}2008  {c |}{col 27}{res}{space 2} .0135175{col 39}{space 2} .3043195{col 50}{space 1}    0.04{col 59}{space 3}0.965{col 67}{space 4}-.5829378{col 80}{space 3} .6099728
{txt}{space 20}2009  {c |}{col 27}{res}{space 2} .0445808{col 39}{space 2} .3070441{col 50}{space 1}    0.15{col 59}{space 3}0.885{col 67}{space 4}-.5572147{col 80}{space 3} .6463762
{txt}{space 20}2010  {c |}{col 27}{res}{space 2}-.0190518{col 39}{space 2} .3285715{col 50}{space 1}   -0.06{col 59}{space 3}0.954{col 67}{space 4}-.6630401{col 80}{space 3} .6249365
{txt}{space 20}2011  {c |}{col 27}{res}{space 2}-.1664414{col 39}{space 2} .3678014{col 50}{space 1}   -0.45{col 59}{space 3}0.651{col 67}{space 4}-.8873188{col 80}{space 3}  .554436
{txt}{space 20}2012  {c |}{col 27}{res}{space 2}  .076582{col 39}{space 2} .3733304{col 50}{space 1}    0.21{col 59}{space 3}0.837{col 67}{space 4} -.655132{col 80}{space 3} .8082961
{txt}{space 20}2013  {c |}{col 27}{res}{space 2} .0420373{col 39}{space 2} .3929244{col 50}{space 1}    0.11{col 59}{space 3}0.915{col 67}{space 4}-.7280805{col 80}{space 3}  .812155
{txt}{space 20}2014  {c |}{col 27}{res}{space 2} .1319212{col 39}{space 2} .4024422{col 50}{space 1}    0.33{col 59}{space 3}0.743{col 67}{space 4}-.6568511{col 80}{space 3} .9206935
{txt}{space 20}2015  {c |}{col 27}{res}{space 2} .0505656{col 39}{space 2} .4179492{col 50}{space 1}    0.12{col 59}{space 3}0.904{col 67}{space 4}-.7685998{col 80}{space 3} .8697309
{txt}{space 20}2016  {c |}{col 27}{res}{space 2} .0887337{col 39}{space 2}  .445618{col 50}{space 1}    0.20{col 59}{space 3}0.842{col 67}{space 4}-.7846616{col 80}{space 3}  .962129
{txt}{space 20}2017  {c |}{col 27}{res}{space 2} .0033893{col 39}{space 2} .4598688{col 50}{space 1}    0.01{col 59}{space 3}0.994{col 67}{space 4}-.8979369{col 80}{space 3} .9047156
{txt}{space 25} {c |}
{space 20}_cons {c |}{col 27}{res}{space 2} 11.71632{col 39}{space 2} 6.396997{col 50}{space 1}    1.83{col 59}{space 3}0.067{col 67}{space 4}-.8215682{col 80}{space 3}  24.2542
{txt}{hline 26}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
({res}est3{txt} stored)

{com}. eststo: xtnbreg government_visits L1.government_visits   c.protestpcL1##c.polity2L1  lngdppc lngdp NaturalResources  urban_pop electricity ChinaTradeOpenness chinese_ofdi_inflow_gdp chineseworkers_capita i.year   , fe
{txt}note: 1 group (1 obs) dropped because of only one obs per group
{res}
{txt}Iteration 0:{space 3}log likelihood = {res:-307.11701}  
Iteration 1:{space 3}log likelihood = {res:-298.59321}  
Iteration 2:{space 3}log likelihood = {res:-296.25677}  
Iteration 3:{space 3}log likelihood = {res: -296.1865}  
Iteration 4:{space 3}log likelihood = {res:-296.18631}  
Iteration 5:{space 3}log likelihood = {res:-296.18631}  
{res}
{txt}Conditional FE negative binomial regression{col 49}Number of obs{col 67}={col 69}{res}       137
{txt}Group variable: {res}cowcode{col 49}{txt}Number of groups{col 67}={col 69}{res}        17

{txt}{col 49}Obs per group:
{col 63}min{col 67}={col 69}{res}         2
{txt}{col 63}avg{col 67}={col 69}{res}       8.1
{txt}{col 63}max{col 67}={col 69}{res}        14

{txt}{col 49}Wald chi2({res}26{txt}){col 67}={col 70}{res}    27.75
{txt}Log likelihood  = {res}-296.18631{col 49}{txt}Prob > chi2{col 67}={res}{col 73}0.3709

{txt}{hline 26}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}        government_visits{col 27}{c |}      Coef.{col 39}   Std. Err.{col 51}      z{col 59}   P>|z|{col 67}     [95% Con{col 80}f. Interval]
{hline 26}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 8}government_visits {c |}
{space 22}L1. {c |}{col 27}{res}{space 2}  .005723{col 39}{space 2} .0092213{col 50}{space 1}    0.62{col 59}{space 3}0.535{col 67}{space 4}-.0123504{col 80}{space 3} .0237965
{txt}{space 25} {c |}
{space 14}protestpcL1 {c |}{col 27}{res}{space 2} 26.38973{col 39}{space 2} 16.90304{col 50}{space 1}    1.56{col 59}{space 3}0.118{col 67}{space 4} -6.73962{col 80}{space 3} 59.51908
{txt}{space 16}polity2L1 {c |}{col 27}{res}{space 2} .0128365{col 39}{space 2} .0190754{col 50}{space 1}    0.67{col 59}{space 3}0.501{col 67}{space 4}-.0245507{col 80}{space 3} .0502237
{txt}{space 25} {c |}
c.protestpcL1#c.polity2L1 {c |}{col 27}{res}{space 2}-3.962956{col 39}{space 2} 2.619053{col 50}{space 1}   -1.51{col 59}{space 3}0.130{col 67}{space 4}-9.096206{col 80}{space 3} 1.170295
{txt}{space 25} {c |}
{space 18}lngdppc {c |}{col 27}{res}{space 2}-.0522417{col 39}{space 2} .4593206{col 50}{space 1}   -0.11{col 59}{space 3}0.909{col 67}{space 4}-.9524936{col 80}{space 3} .8480102
{txt}{space 20}lngdp {c |}{col 27}{res}{space 2}-.3773412{col 39}{space 2} .2878626{col 50}{space 1}   -1.31{col 59}{space 3}0.190{col 67}{space 4}-.9415415{col 80}{space 3}  .186859
{txt}{space 9}NaturalResources {c |}{col 27}{res}{space 2} .0330105{col 39}{space 2} .0195268{col 50}{space 1}    1.69{col 59}{space 3}0.091{col 67}{space 4}-.0052614{col 80}{space 3} .0712824
{txt}{space 16}urban_pop {c |}{col 27}{res}{space 2} .0024293{col 39}{space 2}  .031013{col 50}{space 1}    0.08{col 59}{space 3}0.938{col 67}{space 4}-.0583551{col 80}{space 3} .0632136
{txt}{space 14}electricity {c |}{col 27}{res}{space 2}-.0023466{col 39}{space 2} .0097123{col 50}{space 1}   -0.24{col 59}{space 3}0.809{col 67}{space 4}-.0213823{col 80}{space 3} .0166892
{txt}{space 7}ChinaTradeOpenness {c |}{col 27}{res}{space 2} -.016532{col 39}{space 2} .0139273{col 50}{space 1}   -1.19{col 59}{space 3}0.235{col 67}{space 4}-.0438289{col 80}{space 3} .0107649
{txt}{space 2}chinese_ofdi_inflow_gdp {c |}{col 27}{res}{space 2}-.0757117{col 39}{space 2} .0701154{col 50}{space 1}   -1.08{col 59}{space 3}0.280{col 67}{space 4}-.2131354{col 80}{space 3} .0617119
{txt}{space 4}chineseworkers_capita {c |}{col 27}{res}{space 2} .0064769{col 39}{space 2} .0195324{col 50}{space 1}    0.33{col 59}{space 3}0.740{col 67}{space 4}-.0318059{col 80}{space 3} .0447597
{txt}{space 25} {c |}
{space 21}year {c |}
{space 20}2004  {c |}{col 27}{res}{space 2} .1150948{col 39}{space 2} .2850646{col 50}{space 1}    0.40{col 59}{space 3}0.686{col 67}{space 4}-.4436216{col 80}{space 3} .6738112
{txt}{space 20}2005  {c |}{col 27}{res}{space 2} .3785033{col 39}{space 2} .3527822{col 50}{space 1}    1.07{col 59}{space 3}0.283{col 67}{space 4}-.3129371{col 80}{space 3} 1.069944
{txt}{space 20}2006  {c |}{col 27}{res}{space 2} .4369466{col 39}{space 2} .3752109{col 50}{space 1}    1.16{col 59}{space 3}0.244{col 67}{space 4}-.2984533{col 80}{space 3} 1.172346
{txt}{space 20}2007  {c |}{col 27}{res}{space 2} .2895627{col 39}{space 2} .3229768{col 50}{space 1}    0.90{col 59}{space 3}0.370{col 67}{space 4}-.3434603{col 80}{space 3} .9225856
{txt}{space 20}2008  {c |}{col 27}{res}{space 2} .5399384{col 39}{space 2} .3663823{col 50}{space 1}    1.47{col 59}{space 3}0.141{col 67}{space 4}-.1781577{col 80}{space 3} 1.258035
{txt}{space 20}2009  {c |}{col 27}{res}{space 2}  .494627{col 39}{space 2}  .350288{col 50}{space 1}    1.41{col 59}{space 3}0.158{col 67}{space 4}-.1919248{col 80}{space 3} 1.181179
{txt}{space 20}2010  {c |}{col 27}{res}{space 2} .3158565{col 39}{space 2} .3814992{col 50}{space 1}    0.83{col 59}{space 3}0.408{col 67}{space 4}-.4318681{col 80}{space 3} 1.063581
{txt}{space 20}2011  {c |}{col 27}{res}{space 2} .2696802{col 39}{space 2} .4233055{col 50}{space 1}    0.64{col 59}{space 3}0.524{col 67}{space 4}-.5599833{col 80}{space 3} 1.099344
{txt}{space 20}2012  {c |}{col 27}{res}{space 2} .5096399{col 39}{space 2} .4378157{col 50}{space 1}    1.16{col 59}{space 3}0.244{col 67}{space 4} -.348463{col 80}{space 3} 1.367743
{txt}{space 20}2013  {c |}{col 27}{res}{space 2} .4908533{col 39}{space 2} .4602361{col 50}{space 1}    1.07{col 59}{space 3}0.286{col 67}{space 4}-.4111929{col 80}{space 3}   1.3929
{txt}{space 20}2014  {c |}{col 27}{res}{space 2} .6052588{col 39}{space 2} .4602092{col 50}{space 1}    1.32{col 59}{space 3}0.188{col 67}{space 4}-.2967346{col 80}{space 3} 1.507252
{txt}{space 20}2015  {c |}{col 27}{res}{space 2} .4527106{col 39}{space 2} .4650994{col 50}{space 1}    0.97{col 59}{space 3}0.330{col 67}{space 4}-.4588674{col 80}{space 3} 1.364289
{txt}{space 20}2016  {c |}{col 27}{res}{space 2} .4864987{col 39}{space 2} .4786956{col 50}{space 1}    1.02{col 59}{space 3}0.309{col 67}{space 4}-.4517274{col 80}{space 3} 1.424725
{txt}{space 20}2017  {c |}{col 27}{res}{space 2}  .331396{col 39}{space 2} .5140621{col 50}{space 1}    0.64{col 59}{space 3}0.519{col 67}{space 4}-.6761472{col 80}{space 3} 1.338939
{txt}{space 25} {c |}
{space 20}_cons {c |}{col 27}{res}{space 2}  12.9452{col 39}{space 2} 6.159566{col 50}{space 1}    2.10{col 59}{space 3}0.036{col 67}{space 4}  .872677{col 80}{space 3} 25.01773
{txt}{hline 26}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
({res}est4{txt} stored)

{com}. eststo: xtnbreg government_visits L1.government_visits   c.protestpcL1##c.polity2L1  lngdppc lngdp NaturalResources  urban_pop electricity FDI_inflow tradeopenness chineseworkers_capita  bri_carryover  i.year   , fe
{txt}note: 1 group (1 obs) dropped because of only one obs per group
{res}
{txt}Iteration 0:{space 3}log likelihood = {res:-366.82855}  
Iteration 1:{space 3}log likelihood = {res: -356.4413}  
Iteration 2:{space 3}log likelihood = {res:-355.03111}  
Iteration 3:{space 3}log likelihood = {res:-354.89746}  
Iteration 4:{space 3}log likelihood = {res:-354.89571}  
Iteration 5:{space 3}log likelihood = {res:-354.89571}  
{res}
{txt}Conditional FE negative binomial regression{col 49}Number of obs{col 67}={col 69}{res}       164
{txt}Group variable: {res}cowcode{col 49}{txt}Number of groups{col 67}={col 69}{res}        18

{txt}{col 49}Obs per group:
{col 63}min{col 67}={col 69}{res}         2
{txt}{col 63}avg{col 67}={col 69}{res}       9.1
{txt}{col 63}max{col 67}={col 69}{res}        16

{txt}{col 49}Wald chi2({res}29{txt}){col 67}={col 70}{res}    70.97
{txt}Log likelihood  = {res}-354.89571{col 49}{txt}Prob > chi2{col 67}={res}{col 73}0.0000

{txt}{hline 26}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}        government_visits{col 27}{c |}      Coef.{col 39}   Std. Err.{col 51}      z{col 59}   P>|z|{col 67}     [95% Con{col 80}f. Interval]
{hline 26}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 8}government_visits {c |}
{space 22}L1. {c |}{col 27}{res}{space 2} .0077137{col 39}{space 2} .0084429{col 50}{space 1}    0.91{col 59}{space 3}0.361{col 67}{space 4} -.008834{col 80}{space 3} .0242615
{txt}{space 25} {c |}
{space 14}protestpcL1 {c |}{col 27}{res}{space 2} 21.28147{col 39}{space 2} 12.12214{col 50}{space 1}    1.76{col 59}{space 3}0.079{col 67}{space 4}-2.477494{col 80}{space 3} 45.04044
{txt}{space 16}polity2L1 {c |}{col 27}{res}{space 2} .0117666{col 39}{space 2} .0142701{col 50}{space 1}    0.82{col 59}{space 3}0.410{col 67}{space 4}-.0162024{col 80}{space 3} .0397355
{txt}{space 25} {c |}
c.protestpcL1#c.polity2L1 {c |}{col 27}{res}{space 2}    -2.86{col 39}{space 2} 1.624973{col 50}{space 1}   -1.76{col 59}{space 3}0.078{col 67}{space 4}-6.044889{col 80}{space 3} .3248893
{txt}{space 25} {c |}
{space 18}lngdppc {c |}{col 27}{res}{space 2} -.143005{col 39}{space 2} .4034377{col 50}{space 1}   -0.35{col 59}{space 3}0.723{col 67}{space 4}-.9337283{col 80}{space 3} .6477183
{txt}{space 20}lngdp {c |}{col 27}{res}{space 2}-.2702775{col 39}{space 2} .3163068{col 50}{space 1}   -0.85{col 59}{space 3}0.393{col 67}{space 4}-.8902274{col 80}{space 3} .3496724
{txt}{space 9}NaturalResources {c |}{col 27}{res}{space 2} -.000081{col 39}{space 2} .0175221{col 50}{space 1}   -0.00{col 59}{space 3}0.996{col 67}{space 4}-.0344237{col 80}{space 3} .0342617
{txt}{space 16}urban_pop {c |}{col 27}{res}{space 2}-.0242281{col 39}{space 2} .0246403{col 50}{space 1}   -0.98{col 59}{space 3}0.325{col 67}{space 4}-.0725222{col 80}{space 3}  .024066
{txt}{space 14}electricity {c |}{col 27}{res}{space 2}-.0002924{col 39}{space 2} .0059815{col 50}{space 1}   -0.05{col 59}{space 3}0.961{col 67}{space 4}-.0120159{col 80}{space 3} .0114311
{txt}{space 15}FDI_inflow {c |}{col 27}{res}{space 2} .0070146{col 39}{space 2} .0117552{col 50}{space 1}    0.60{col 59}{space 3}0.551{col 67}{space 4}-.0160253{col 80}{space 3} .0300544
{txt}{space 12}tradeopenness {c |}{col 27}{res}{space 2} .0059708{col 39}{space 2} .0031786{col 50}{space 1}    1.88{col 59}{space 3}0.060{col 67}{space 4} -.000259{col 80}{space 3} .0122007
{txt}{space 4}chineseworkers_capita {c |}{col 27}{res}{space 2}-.0061034{col 39}{space 2} .0163317{col 50}{space 1}   -0.37{col 59}{space 3}0.709{col 67}{space 4} -.038113{col 80}{space 3} .0259061
{txt}{space 12}bri_carryover {c |}{col 27}{res}{space 2} .0501575{col 39}{space 2}  .142171{col 50}{space 1}    0.35{col 59}{space 3}0.724{col 67}{space 4}-.2284926{col 80}{space 3} .3288075
{txt}{space 25} {c |}
{space 21}year {c |}
{space 20}2002  {c |}{col 27}{res}{space 2}-1.120996{col 39}{space 2} .2612126{col 50}{space 1}   -4.29{col 59}{space 3}0.000{col 67}{space 4}-1.632963{col 80}{space 3}-.6090284
{txt}{space 20}2003  {c |}{col 27}{res}{space 2}-.3084528{col 39}{space 2} .2866892{col 50}{space 1}   -1.08{col 59}{space 3}0.282{col 67}{space 4}-.8703532{col 80}{space 3} .2534477
{txt}{space 20}2004  {c |}{col 27}{res}{space 2}-.4171863{col 39}{space 2} .2794195{col 50}{space 1}   -1.49{col 59}{space 3}0.135{col 67}{space 4}-.9648385{col 80}{space 3} .1304658
{txt}{space 20}2005  {c |}{col 27}{res}{space 2}-.0645366{col 39}{space 2}  .345823{col 50}{space 1}   -0.19{col 59}{space 3}0.852{col 67}{space 4}-.7423373{col 80}{space 3} .6132642
{txt}{space 20}2006  {c |}{col 27}{res}{space 2}-.1589746{col 39}{space 2} .3034734{col 50}{space 1}   -0.52{col 59}{space 3}0.600{col 67}{space 4}-.7537715{col 80}{space 3} .4358222
{txt}{space 20}2007  {c |}{col 27}{res}{space 2}-.1626467{col 39}{space 2} .2781084{col 50}{space 1}   -0.58{col 59}{space 3}0.559{col 67}{space 4} -.707729{col 80}{space 3} .3824357
{txt}{space 20}2008  {c |}{col 27}{res}{space 2} -.019625{col 39}{space 2} .3126721{col 50}{space 1}   -0.06{col 59}{space 3}0.950{col 67}{space 4}-.6324509{col 80}{space 3}  .593201
{txt}{space 20}2009  {c |}{col 27}{res}{space 2} .0095989{col 39}{space 2} .3157392{col 50}{space 1}    0.03{col 59}{space 3}0.976{col 67}{space 4}-.6092386{col 80}{space 3} .6284364
{txt}{space 20}2010  {c |}{col 27}{res}{space 2}-.0524461{col 39}{space 2}  .337472{col 50}{space 1}   -0.16{col 59}{space 3}0.876{col 67}{space 4}-.7138791{col 80}{space 3} .6089869
{txt}{space 20}2011  {c |}{col 27}{res}{space 2} -.187961{col 39}{space 2} .3795348{col 50}{space 1}   -0.50{col 59}{space 3}0.620{col 67}{space 4}-.9318357{col 80}{space 3} .5559136
{txt}{space 20}2012  {c |}{col 27}{res}{space 2} .0263551{col 39}{space 2} .3917284{col 50}{space 1}    0.07{col 59}{space 3}0.946{col 67}{space 4}-.7414184{col 80}{space 3} .7941287
{txt}{space 20}2013  {c |}{col 27}{res}{space 2}-.0164455{col 39}{space 2} .4200969{col 50}{space 1}   -0.04{col 59}{space 3}0.969{col 67}{space 4}-.8398203{col 80}{space 3} .8069292
{txt}{space 20}2014  {c |}{col 27}{res}{space 2} .0631289{col 39}{space 2} .4333606{col 50}{space 1}    0.15{col 59}{space 3}0.884{col 67}{space 4}-.7862423{col 80}{space 3} .9125001
{txt}{space 20}2015  {c |}{col 27}{res}{space 2}-.0265537{col 39}{space 2} .4525516{col 50}{space 1}   -0.06{col 59}{space 3}0.953{col 67}{space 4}-.9135386{col 80}{space 3} .8604312
{txt}{space 20}2016  {c |}{col 27}{res}{space 2} .0476491{col 39}{space 2} .4781786{col 50}{space 1}    0.10{col 59}{space 3}0.921{col 67}{space 4}-.8895638{col 80}{space 3}  .984862
{txt}{space 20}2017  {c |}{col 27}{res}{space 2}-.1552783{col 39}{space 2} .5229104{col 50}{space 1}   -0.30{col 59}{space 3}0.767{col 67}{space 4}-1.180164{col 80}{space 3} .8696073
{txt}{space 25} {c |}
{space 20}_cons {c |}{col 27}{res}{space 2} 11.92055{col 39}{space 2}  6.54989{col 50}{space 1}    1.82{col 59}{space 3}0.069{col 67}{space 4}-.9170017{col 80}{space 3}  24.7581
{txt}{hline 26}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
({res}est5{txt} stored)

{com}. 
{txt}end of do-file

{com}. do "C:\Users\yujeo\AppData\Local\Temp\STD01000000.tmp"
{txt}
{com}. *Table A11: Anti-China Protests per capita and Polity on Chinese Aid
. eststo clear
{txt}
{com}. eststo: xtreg OFa_all_pop_ln L1.OFa_all_pop_ln  c.protestpcL1##c.polity2L1   i.year   , fe
{res}
{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}       179
{txt}Group variable: {res}cowcode{txt}{col 49}Number of groups{col 67}={col 69}{res}        21

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.2001{col 63}{txt}min{col 67}={col 69}{res}         3
{txt}     between = {res}0.2710{col 63}{txt}avg{col 67}={col 69}{res}       8.5
{txt}     overall = {res}0.0152{col 63}{txt}max{col 67}={col 69}{res}        13

{txt}{col 49}F({res}20{txt},{res}138{txt}){col 67}={col 70}{res}     1.73
{txt}corr(u_i, Xb){col 16}= {res}-0.2517{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0358

{txt}{hline 26}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}           OFa_all_pop_ln{col 27}{c |}      Coef.{col 39}   Std. Err.{col 51}      t{col 59}   P>|t|{col 67}     [95% Con{col 80}f. Interval]
{hline 26}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 11}OFa_all_pop_ln {c |}
{space 22}L1. {c |}{col 27}{res}{space 2}-.0217347{col 39}{space 2} .0897289{col 50}{space 1}   -0.24{col 59}{space 3}0.809{col 67}{space 4} -.199156{col 80}{space 3} .1556866
{txt}{space 25} {c |}
{space 14}protestpcL1 {c |}{col 27}{res}{space 2}-4.180603{col 39}{space 2} 12.17722{col 50}{space 1}   -0.34{col 59}{space 3}0.732{col 67}{space 4}-28.25866{col 80}{space 3} 19.89745
{txt}{space 16}polity2L1 {c |}{col 27}{res}{space 2} .0417138{col 39}{space 2} .0386285{col 50}{space 1}    1.08{col 59}{space 3}0.282{col 67}{space 4}-.0346665{col 80}{space 3} .1180941
{txt}{space 25} {c |}
c.protestpcL1#c.polity2L1 {c |}{col 27}{res}{space 2}-.6416239{col 39}{space 2} 1.470716{col 50}{space 1}   -0.44{col 59}{space 3}0.663{col 67}{space 4}-3.549675{col 80}{space 3} 2.266427
{txt}{space 25} {c |}
{space 21}year {c |}
{space 20}2002  {c |}{col 27}{res}{space 2} .2634321{col 39}{space 2} 1.308256{col 50}{space 1}    0.20{col 59}{space 3}0.841{col 67}{space 4}-2.323387{col 80}{space 3} 2.850252
{txt}{space 20}2003  {c |}{col 27}{res}{space 2}-.3126283{col 39}{space 2} .9121075{col 50}{space 1}   -0.34{col 59}{space 3}0.732{col 67}{space 4}-2.116142{col 80}{space 3} 1.490885
{txt}{space 20}2004  {c |}{col 27}{res}{space 2} .8485136{col 39}{space 2} 1.036648{col 50}{space 1}    0.82{col 59}{space 3}0.414{col 67}{space 4}-1.201255{col 80}{space 3} 2.898282
{txt}{space 20}2005  {c |}{col 27}{res}{space 2} .9438809{col 39}{space 2} .9631962{col 50}{space 1}    0.98{col 59}{space 3}0.329{col 67}{space 4}-.9606504{col 80}{space 3} 2.848412
{txt}{space 20}2006  {c |}{col 27}{res}{space 2} .9810605{col 39}{space 2}  .883292{col 50}{space 1}    1.11{col 59}{space 3}0.269{col 67}{space 4}-.7654759{col 80}{space 3} 2.727597
{txt}{space 20}2007  {c |}{col 27}{res}{space 2}-.2699444{col 39}{space 2} .7544665{col 50}{space 1}   -0.36{col 59}{space 3}0.721{col 67}{space 4}-1.761754{col 80}{space 3} 1.221865
{txt}{space 20}2008  {c |}{col 27}{res}{space 2} .0157631{col 39}{space 2} .7824534{col 50}{space 1}    0.02{col 59}{space 3}0.984{col 67}{space 4}-1.531385{col 80}{space 3} 1.562911
{txt}{space 20}2009  {c |}{col 27}{res}{space 2} 1.156264{col 39}{space 2} .7456126{col 50}{space 1}    1.55{col 59}{space 3}0.123{col 67}{space 4}-.3180381{col 80}{space 3} 2.630567
{txt}{space 20}2010  {c |}{col 27}{res}{space 2} .9386411{col 39}{space 2} .7274058{col 50}{space 1}    1.29{col 59}{space 3}0.199{col 67}{space 4}-.4996609{col 80}{space 3} 2.376943
{txt}{space 20}2011  {c |}{col 27}{res}{space 2} 1.066997{col 39}{space 2} .7243965{col 50}{space 1}    1.47{col 59}{space 3}0.143{col 67}{space 4} -.365355{col 80}{space 3} 2.499348
{txt}{space 20}2012  {c |}{col 27}{res}{space 2} 1.176251{col 39}{space 2} .7221289{col 50}{space 1}    1.63{col 59}{space 3}0.106{col 67}{space 4}-.2516174{col 80}{space 3} 2.604119
{txt}{space 20}2013  {c |}{col 27}{res}{space 2} .9573471{col 39}{space 2} .7276333{col 50}{space 1}    1.32{col 59}{space 3}0.190{col 67}{space 4}-.4814048{col 80}{space 3} 2.396099
{txt}{space 20}2014  {c |}{col 27}{res}{space 2} .6646061{col 39}{space 2} .7277918{col 50}{space 1}    0.91{col 59}{space 3}0.363{col 67}{space 4}-.7744592{col 80}{space 3} 2.103671
{txt}{space 20}2015  {c |}{col 27}{res}{space 2} 1.053813{col 39}{space 2} .7292722{col 50}{space 1}    1.45{col 59}{space 3}0.151{col 67}{space 4}-.3881799{col 80}{space 3} 2.495805
{txt}{space 20}2016  {c |}{col 27}{res}{space 2} 1.528332{col 39}{space 2} .7273742{col 50}{space 1}    2.10{col 59}{space 3}0.037{col 67}{space 4} .0900922{col 80}{space 3} 2.966571
{txt}{space 20}2017  {c |}{col 27}{res}{space 2} 1.404231{col 39}{space 2} .7320518{col 50}{space 1}    1.92{col 59}{space 3}0.057{col 67}{space 4}-.0432578{col 80}{space 3}  2.85172
{txt}{space 25} {c |}
{space 20}_cons {c |}{col 27}{res}{space 2} 1.407317{col 39}{space 2} .6808293{col 50}{space 1}    2.07{col 59}{space 3}0.041{col 67}{space 4} .0611107{col 80}{space 3} 2.753523
{txt}{hline 26}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
                  sigma_u {c |} {res} 1.4404176
                  {txt}sigma_e {c |} {res} 1.1003706
                      {txt}rho {c |} {res} .63148016{txt}   (fraction of variance due to u_i)
{hline 26}{c BT}{hline 64}
F test that all u_i=0: F({res}20{txt}, {res}138{txt}) = {res}4.08{col 62}{txt}Prob > F = {res}0.0000
{txt}({res}est1{txt} stored)

{com}. eststo: xtreg OFa_all_pop_ln L1.OFa_all_pop_ln   c.protestpcL1##c.polity2L1  lngdppc lngdp NaturalResources  urban_pop electricity   i.year   , fe
{res}
{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}       179
{txt}Group variable: {res}cowcode{txt}{col 49}Number of groups{col 67}={col 69}{res}        21

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.2188{col 63}{txt}min{col 67}={col 69}{res}         3
{txt}     between = {res}0.3297{col 63}{txt}avg{col 67}={col 69}{res}       8.5
{txt}     overall = {res}0.1640{col 63}{txt}max{col 67}={col 69}{res}        13

{txt}{col 49}F({res}25{txt},{res}133{txt}){col 67}={col 70}{res}     1.49
{txt}corr(u_i, Xb){col 16}= {res}-0.9864{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0782

{txt}{hline 26}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}           OFa_all_pop_ln{col 27}{c |}      Coef.{col 39}   Std. Err.{col 51}      t{col 59}   P>|t|{col 67}     [95% Con{col 80}f. Interval]
{hline 26}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 11}OFa_all_pop_ln {c |}
{space 22}L1. {c |}{col 27}{res}{space 2}-.0460103{col 39}{space 2} .0926234{col 50}{space 1}   -0.50{col 59}{space 3}0.620{col 67}{space 4}-.2292158{col 80}{space 3} .1371953
{txt}{space 25} {c |}
{space 14}protestpcL1 {c |}{col 27}{res}{space 2}-9.448228{col 39}{space 2} 12.67262{col 50}{space 1}   -0.75{col 59}{space 3}0.457{col 67}{space 4}-34.51417{col 80}{space 3} 15.61772
{txt}{space 16}polity2L1 {c |}{col 27}{res}{space 2}  .063119{col 39}{space 2} .0428417{col 50}{space 1}    1.47{col 59}{space 3}0.143{col 67}{space 4}-.0216203{col 80}{space 3} .1478583
{txt}{space 25} {c |}
c.protestpcL1#c.polity2L1 {c |}{col 27}{res}{space 2}-.1886099{col 39}{space 2} 1.552758{col 50}{space 1}   -0.12{col 59}{space 3}0.904{col 67}{space 4}-3.259905{col 80}{space 3} 2.882686
{txt}{space 25} {c |}
{space 18}lngdppc {c |}{col 27}{res}{space 2}-3.280927{col 39}{space 2} 5.487136{col 50}{space 1}   -0.60{col 59}{space 3}0.551{col 67}{space 4}-14.13427{col 80}{space 3} 7.572415
{txt}{space 20}lngdp {c |}{col 27}{res}{space 2} 3.647617{col 39}{space 2}  5.59601{col 50}{space 1}    0.65{col 59}{space 3}0.516{col 67}{space 4}-7.421073{col 80}{space 3} 14.71631
{txt}{space 9}NaturalResources {c |}{col 27}{res}{space 2}-.0178806{col 39}{space 2} .0315158{col 50}{space 1}   -0.57{col 59}{space 3}0.571{col 67}{space 4}-.0802175{col 80}{space 3} .0444564
{txt}{space 16}urban_pop {c |}{col 27}{res}{space 2} .1500709{col 39}{space 2} .1038807{col 50}{space 1}    1.44{col 59}{space 3}0.151{col 67}{space 4}-.0554011{col 80}{space 3} .3555429
{txt}{space 14}electricity {c |}{col 27}{res}{space 2}-.0119353{col 39}{space 2} .0159629{col 50}{space 1}   -0.75{col 59}{space 3}0.456{col 67}{space 4}-.0435093{col 80}{space 3} .0196386
{txt}{space 25} {c |}
{space 21}year {c |}
{space 20}2002  {c |}{col 27}{res}{space 2} .2416582{col 39}{space 2} 1.317896{col 50}{space 1}    0.18{col 59}{space 3}0.855{col 67}{space 4}-2.365088{col 80}{space 3} 2.848405
{txt}{space 20}2003  {c |}{col 27}{res}{space 2} .2986168{col 39}{space 2} 1.102237{col 50}{space 1}    0.27{col 59}{space 3}0.787{col 67}{space 4}-1.881565{col 80}{space 3} 2.478799
{txt}{space 20}2004  {c |}{col 27}{res}{space 2} 1.109759{col 39}{space 2} 1.193367{col 50}{space 1}    0.93{col 59}{space 3}0.354{col 67}{space 4}-1.250674{col 80}{space 3} 3.470192
{txt}{space 20}2005  {c |}{col 27}{res}{space 2} 1.180271{col 39}{space 2} 1.191182{col 50}{space 1}    0.99{col 59}{space 3}0.324{col 67}{space 4}-1.175841{col 80}{space 3} 3.536383
{txt}{space 20}2006  {c |}{col 27}{res}{space 2} .9479574{col 39}{space 2} 1.222785{col 50}{space 1}    0.78{col 59}{space 3}0.440{col 67}{space 4}-1.470663{col 80}{space 3} 3.366578
{txt}{space 20}2007  {c |}{col 27}{res}{space 2}-.5078411{col 39}{space 2} 1.133984{col 50}{space 1}   -0.45{col 59}{space 3}0.655{col 67}{space 4}-2.750818{col 80}{space 3} 1.735136
{txt}{space 20}2008  {c |}{col 27}{res}{space 2}-.3324106{col 39}{space 2} 1.263412{col 50}{space 1}   -0.26{col 59}{space 3}0.793{col 67}{space 4}-2.831391{col 80}{space 3}  2.16657
{txt}{space 20}2009  {c |}{col 27}{res}{space 2} .7095747{col 39}{space 2} 1.289686{col 50}{space 1}    0.55{col 59}{space 3}0.583{col 67}{space 4}-1.841375{col 80}{space 3} 3.260524
{txt}{space 20}2010  {c |}{col 27}{res}{space 2} .3727609{col 39}{space 2} 1.365753{col 50}{space 1}    0.27{col 59}{space 3}0.785{col 67}{space 4}-2.328646{col 80}{space 3} 3.074168
{txt}{space 20}2011  {c |}{col 27}{res}{space 2}  .352569{col 39}{space 2} 1.532412{col 50}{space 1}    0.23{col 59}{space 3}0.818{col 67}{space 4}-2.678483{col 80}{space 3} 3.383621
{txt}{space 20}2012  {c |}{col 27}{res}{space 2} .3429244{col 39}{space 2} 1.594051{col 50}{space 1}    0.22{col 59}{space 3}0.830{col 67}{space 4}-2.810047{col 80}{space 3} 3.495896
{txt}{space 20}2013  {c |}{col 27}{res}{space 2} .0247165{col 39}{space 2} 1.673077{col 50}{space 1}    0.01{col 59}{space 3}0.988{col 67}{space 4}-3.284564{col 80}{space 3} 3.333997
{txt}{space 20}2014  {c |}{col 27}{res}{space 2}-.3976722{col 39}{space 2} 1.766932{col 50}{space 1}   -0.23{col 59}{space 3}0.822{col 67}{space 4}-3.892595{col 80}{space 3} 3.097251
{txt}{space 20}2015  {c |}{col 27}{res}{space 2}-.0883324{col 39}{space 2} 1.827183{col 50}{space 1}   -0.05{col 59}{space 3}0.962{col 67}{space 4} -3.70243{col 80}{space 3} 3.525765
{txt}{space 20}2016  {c |}{col 27}{res}{space 2} .2778879{col 39}{space 2} 1.908673{col 50}{space 1}    0.15{col 59}{space 3}0.884{col 67}{space 4}-3.497393{col 80}{space 3} 4.053168
{txt}{space 20}2017  {c |}{col 27}{res}{space 2} .1105651{col 39}{space 2} 2.007757{col 50}{space 1}    0.06{col 59}{space 3}0.956{col 67}{space 4}-3.860701{col 80}{space 3} 4.081831
{txt}{space 25} {c |}
{space 20}_cons {c |}{col 27}{res}{space 2}-68.61642{col 39}{space 2} 99.23688{col 50}{space 1}   -0.69{col 59}{space 3}0.490{col 67}{space 4}-264.9031{col 80}{space 3} 127.6703
{txt}{hline 26}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
                  sigma_u {c |} {res} 7.3398675
                  {txt}sigma_e {c |} {res} 1.1077021
                      {txt}rho {c |} {res} .97773159{txt}   (fraction of variance due to u_i)
{hline 26}{c BT}{hline 64}
F test that all u_i=0: F({res}20{txt}, {res}133{txt}) = {res}3.21{col 62}{txt}Prob > F = {res}0.0000
{txt}({res}est2{txt} stored)

{com}. eststo: xtreg OFa_all_pop_ln L1.OFa_all_pop_ln   c.protestpcL1##c.polity2L1  lngdppc lngdp NaturalResources  urban_pop electricity FDI_inflow tradeopenness  i.year   , fe
{res}
{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}       154
{txt}Group variable: {res}cowcode{txt}{col 49}Number of groups{col 67}={col 69}{res}        18

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.3235{col 63}{txt}min{col 67}={col 69}{res}         3
{txt}     between = {res}0.2159{col 63}{txt}avg{col 67}={col 69}{res}       8.6
{txt}     overall = {res}0.0682{col 63}{txt}max{col 67}={col 69}{res}        13

{txt}{col 49}F({res}27{txt},{res}109{txt}){col 67}={col 70}{res}     1.93
{txt}corr(u_i, Xb){col 16}= {res}-0.9644{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0093

{txt}{hline 26}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}           OFa_all_pop_ln{col 27}{c |}      Coef.{col 39}   Std. Err.{col 51}      t{col 59}   P>|t|{col 67}     [95% Con{col 80}f. Interval]
{hline 26}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 11}OFa_all_pop_ln {c |}
{space 22}L1. {c |}{col 27}{res}{space 2}-.0484074{col 39}{space 2} .0966996{col 50}{space 1}   -0.50{col 59}{space 3}0.618{col 67}{space 4}-.2400629{col 80}{space 3} .1432481
{txt}{space 25} {c |}
{space 14}protestpcL1 {c |}{col 27}{res}{space 2} 56.24195{col 39}{space 2} 31.35924{col 50}{space 1}    1.79{col 59}{space 3}0.076{col 67}{space 4}-5.911043{col 80}{space 3} 118.3949
{txt}{space 16}polity2L1 {c |}{col 27}{res}{space 2} .0682675{col 39}{space 2} .0456102{col 50}{space 1}    1.50{col 59}{space 3}0.137{col 67}{space 4}-.0221305{col 80}{space 3} .1586655
{txt}{space 25} {c |}
c.protestpcL1#c.polity2L1 {c |}{col 27}{res}{space 2}-9.151646{col 39}{space 2} 3.911205{col 50}{space 1}   -2.34{col 59}{space 3}0.021{col 67}{space 4}-16.90353{col 80}{space 3}-1.399765
{txt}{space 25} {c |}
{space 18}lngdppc {c |}{col 27}{res}{space 2}-.0319058{col 39}{space 2}  6.11162{col 50}{space 1}   -0.01{col 59}{space 3}0.996{col 67}{space 4}-12.14494{col 80}{space 3} 12.08113
{txt}{space 20}lngdp {c |}{col 27}{res}{space 2} 2.102115{col 39}{space 2} 6.031078{col 50}{space 1}    0.35{col 59}{space 3}0.728{col 67}{space 4}-9.851286{col 80}{space 3} 14.05552
{txt}{space 9}NaturalResources {c |}{col 27}{res}{space 2}-.0894797{col 39}{space 2} .0408599{col 50}{space 1}   -2.19{col 59}{space 3}0.031{col 67}{space 4}-.1704628{col 80}{space 3}-.0084967
{txt}{space 16}urban_pop {c |}{col 27}{res}{space 2} .1452487{col 39}{space 2} .1100495{col 50}{space 1}    1.32{col 59}{space 3}0.190{col 67}{space 4}-.0728659{col 80}{space 3} .3633633
{txt}{space 14}electricity {c |}{col 27}{res}{space 2}-.0401498{col 39}{space 2} .0187275{col 50}{space 1}   -2.14{col 59}{space 3}0.034{col 67}{space 4}-.0772671{col 80}{space 3}-.0030326
{txt}{space 15}FDI_inflow {c |}{col 27}{res}{space 2}-.0085717{col 39}{space 2} .0231377{col 50}{space 1}   -0.37{col 59}{space 3}0.712{col 67}{space 4}-.0544298{col 80}{space 3} .0372864
{txt}{space 12}tradeopenness {c |}{col 27}{res}{space 2} .0245383{col 39}{space 2} .0124834{col 50}{space 1}    1.97{col 59}{space 3}0.052{col 67}{space 4}-.0002033{col 80}{space 3} .0492799
{txt}{space 25} {c |}
{space 21}year {c |}
{space 20}2002  {c |}{col 27}{res}{space 2} .4848436{col 39}{space 2}   1.2839{col 50}{space 1}    0.38{col 59}{space 3}0.706{col 67}{space 4}-2.059804{col 80}{space 3} 3.029492
{txt}{space 20}2003  {c |}{col 27}{res}{space 2} 1.089305{col 39}{space 2}  1.22465{col 50}{space 1}    0.89{col 59}{space 3}0.376{col 67}{space 4}-1.337911{col 80}{space 3} 3.516521
{txt}{space 20}2004  {c |}{col 27}{res}{space 2}  1.92881{col 39}{space 2} 1.400085{col 50}{space 1}    1.38{col 59}{space 3}0.171{col 67}{space 4}-.8461131{col 80}{space 3} 4.703733
{txt}{space 20}2005  {c |}{col 27}{res}{space 2} 1.277286{col 39}{space 2} 1.527146{col 50}{space 1}    0.84{col 59}{space 3}0.405{col 67}{space 4}-1.749467{col 80}{space 3}  4.30404
{txt}{space 20}2006  {c |}{col 27}{res}{space 2}  .979426{col 39}{space 2} 1.303131{col 50}{space 1}    0.75{col 59}{space 3}0.454{col 67}{space 4}-1.603338{col 80}{space 3}  3.56219
{txt}{space 20}2007  {c |}{col 27}{res}{space 2}-.6647074{col 39}{space 2} 1.135605{col 50}{space 1}   -0.59{col 59}{space 3}0.560{col 67}{space 4} -2.91544{col 80}{space 3} 1.586025
{txt}{space 20}2008  {c |}{col 27}{res}{space 2}-.6875756{col 39}{space 2}  1.29332{col 50}{space 1}   -0.53{col 59}{space 3}0.596{col 67}{space 4}-3.250894{col 80}{space 3} 1.875743
{txt}{space 20}2009  {c |}{col 27}{res}{space 2} .6189923{col 39}{space 2} 1.307538{col 50}{space 1}    0.47{col 59}{space 3}0.637{col 67}{space 4}-1.972505{col 80}{space 3}  3.21049
{txt}{space 20}2010  {c |}{col 27}{res}{space 2} .0377023{col 39}{space 2} 1.377087{col 50}{space 1}    0.03{col 59}{space 3}0.978{col 67}{space 4}-2.691639{col 80}{space 3} 2.767044
{txt}{space 20}2011  {c |}{col 27}{res}{space 2}-.2206388{col 39}{space 2} 1.540321{col 50}{space 1}   -0.14{col 59}{space 3}0.886{col 67}{space 4}-3.273505{col 80}{space 3} 2.832228
{txt}{space 20}2012  {c |}{col 27}{res}{space 2} .0430843{col 39}{space 2} 1.605526{col 50}{space 1}    0.03{col 59}{space 3}0.979{col 67}{space 4}-3.139015{col 80}{space 3} 3.225184
{txt}{space 20}2013  {c |}{col 27}{res}{space 2} -.432583{col 39}{space 2}  1.68494{col 50}{space 1}   -0.26{col 59}{space 3}0.798{col 67}{space 4} -3.77208{col 80}{space 3} 2.906914
{txt}{space 20}2014  {c |}{col 27}{res}{space 2}-1.132824{col 39}{space 2}  1.77935{col 50}{space 1}   -0.64{col 59}{space 3}0.526{col 67}{space 4}-4.659438{col 80}{space 3} 2.393789
{txt}{space 20}2015  {c |}{col 27}{res}{space 2}-.7254887{col 39}{space 2} 1.852704{col 50}{space 1}   -0.39{col 59}{space 3}0.696{col 67}{space 4}-4.397487{col 80}{space 3}  2.94651
{txt}{space 20}2016  {c |}{col 27}{res}{space 2}-.2507507{col 39}{space 2} 1.921959{col 50}{space 1}   -0.13{col 59}{space 3}0.896{col 67}{space 4}-4.060011{col 80}{space 3}  3.55851
{txt}{space 20}2017  {c |}{col 27}{res}{space 2}  -.22802{col 39}{space 2} 2.000964{col 50}{space 1}   -0.11{col 59}{space 3}0.909{col 67}{space 4}-4.193865{col 80}{space 3} 3.737825
{txt}{space 25} {c |}
{space 20}_cons {c |}{col 27}{res}{space 2} -53.2801{col 39}{space 2} 105.8707{col 50}{space 1}   -0.50{col 59}{space 3}0.616{col 67}{space 4}-263.1123{col 80}{space 3} 156.5521
{txt}{hline 26}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
                  sigma_u {c |} {res} 5.4782396
                  {txt}sigma_e {c |} {res} 1.0676719
                      {txt}rho {c |} {res} .96340656{txt}   (fraction of variance due to u_i)
{hline 26}{c BT}{hline 64}
F test that all u_i=0: F({res}17{txt}, {res}109{txt}) = {res}3.99{col 62}{txt}Prob > F = {res}0.0000
{txt}({res}est3{txt} stored)

{com}. eststo: xtreg OFa_all_pop_ln L1.OFa_all_pop_ln   c.protestpcL1##c.polity2L1  lngdppc lngdp NaturalResources  urban_pop electricity ChinaTradeOpenness chinese_ofdi_inflow_gdp chineseworkers_capita i.year   , fe
{res}
{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}       136
{txt}Group variable: {res}cowcode{txt}{col 49}Number of groups{col 67}={col 69}{res}        18

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.3624{col 63}{txt}min{col 67}={col 69}{res}         1
{txt}     between = {res}0.2723{col 63}{txt}avg{col 67}={col 69}{res}       7.6
{txt}     overall = {res}0.2588{col 63}{txt}max{col 67}={col 69}{res}        13

{txt}{col 49}F({res}26{txt},{res}92{txt}){col 67}={col 70}{res}     2.01
{txt}corr(u_i, Xb){col 16}= {res}-0.9894{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0081

{txt}{hline 26}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}           OFa_all_pop_ln{col 27}{c |}      Coef.{col 39}   Std. Err.{col 51}      t{col 59}   P>|t|{col 67}     [95% Con{col 80}f. Interval]
{hline 26}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 11}OFa_all_pop_ln {c |}
{space 22}L1. {c |}{col 27}{res}{space 2}-.1005109{col 39}{space 2} .0993533{col 50}{space 1}   -1.01{col 59}{space 3}0.314{col 67}{space 4}-.2978351{col 80}{space 3} .0968133
{txt}{space 25} {c |}
{space 14}protestpcL1 {c |}{col 27}{res}{space 2} 42.70844{col 39}{space 2} 35.28583{col 50}{space 1}    1.21{col 59}{space 3}0.229{col 67}{space 4}-27.37227{col 80}{space 3} 112.7892
{txt}{space 16}polity2L1 {c |}{col 27}{res}{space 2} .0933831{col 39}{space 2}   .05056{col 50}{space 1}    1.85{col 59}{space 3}0.068{col 67}{space 4}-.0070334{col 80}{space 3} .1937996
{txt}{space 25} {c |}
c.protestpcL1#c.polity2L1 {c |}{col 27}{res}{space 2}-6.127136{col 39}{space 2} 4.369292{col 50}{space 1}   -1.40{col 59}{space 3}0.164{col 67}{space 4}-14.80493{col 80}{space 3} 2.550654
{txt}{space 25} {c |}
{space 18}lngdppc {c |}{col 27}{res}{space 2} 7.070553{col 39}{space 2}  6.91158{col 50}{space 1}    1.02{col 59}{space 3}0.309{col 67}{space 4}-6.656442{col 80}{space 3} 20.79755
{txt}{space 20}lngdp {c |}{col 27}{res}{space 2}-5.513304{col 39}{space 2} 6.831666{col 50}{space 1}   -0.81{col 59}{space 3}0.422{col 67}{space 4}-19.08158{col 80}{space 3} 8.054975
{txt}{space 9}NaturalResources {c |}{col 27}{res}{space 2}-.1892169{col 39}{space 2} .0522945{col 50}{space 1}   -3.62{col 59}{space 3}0.000{col 67}{space 4}-.2930783{col 80}{space 3}-.0853554
{txt}{space 16}urban_pop {c |}{col 27}{res}{space 2} .0279482{col 39}{space 2}  .119141{col 50}{space 1}    0.23{col 59}{space 3}0.815{col 67}{space 4} -.208676{col 80}{space 3} .2645724
{txt}{space 14}electricity {c |}{col 27}{res}{space 2}-.0435561{col 39}{space 2} .0225752{col 50}{space 1}   -1.93{col 59}{space 3}0.057{col 67}{space 4}-.0883924{col 80}{space 3} .0012803
{txt}{space 7}ChinaTradeOpenness {c |}{col 27}{res}{space 2} .0322993{col 39}{space 2} .0435819{col 50}{space 1}    0.74{col 59}{space 3}0.461{col 67}{space 4} -.054258{col 80}{space 3} .1188567
{txt}{space 2}chinese_ofdi_inflow_gdp {c |}{col 27}{res}{space 2} .3357719{col 39}{space 2} .1713751{col 50}{space 1}    1.96{col 59}{space 3}0.053{col 67}{space 4}-.0045937{col 80}{space 3} .6761376
{txt}{space 4}chineseworkers_capita {c |}{col 27}{res}{space 2}-.0441529{col 39}{space 2} .0497144{col 50}{space 1}   -0.89{col 59}{space 3}0.377{col 67}{space 4}  -.14289{col 80}{space 3} .0545843
{txt}{space 25} {c |}
{space 21}year {c |}
{space 20}2004  {c |}{col 27}{res}{space 2} 1.289884{col 39}{space 2} 1.052097{col 50}{space 1}    1.23{col 59}{space 3}0.223{col 67}{space 4}-.7996704{col 80}{space 3} 3.379439
{txt}{space 20}2005  {c |}{col 27}{res}{space 2} .4603071{col 39}{space 2} 1.329832{col 50}{space 1}    0.35{col 59}{space 3}0.730{col 67}{space 4}-2.180853{col 80}{space 3} 3.101468
{txt}{space 20}2006  {c |}{col 27}{res}{space 2} .6392372{col 39}{space 2}  1.22691{col 50}{space 1}    0.52{col 59}{space 3}0.604{col 67}{space 4}-1.797513{col 80}{space 3} 3.075987
{txt}{space 20}2007  {c |}{col 27}{res}{space 2}-.8111397{col 39}{space 2} 1.139829{col 50}{space 1}   -0.71{col 59}{space 3}0.478{col 67}{space 4}-3.074938{col 80}{space 3} 1.452659
{txt}{space 20}2008  {c |}{col 27}{res}{space 2}-.4970181{col 39}{space 2} 1.304098{col 50}{space 1}   -0.38{col 59}{space 3}0.704{col 67}{space 4} -3.08707{col 80}{space 3} 2.093034
{txt}{space 20}2009  {c |}{col 27}{res}{space 2} .3564226{col 39}{space 2} 1.331687{col 50}{space 1}    0.27{col 59}{space 3}0.790{col 67}{space 4}-2.288422{col 80}{space 3} 3.001267
{txt}{space 20}2010  {c |}{col 27}{res}{space 2} .2547596{col 39}{space 2} 1.482287{col 50}{space 1}    0.17{col 59}{space 3}0.864{col 67}{space 4}-2.689191{col 80}{space 3}  3.19871
{txt}{space 20}2011  {c |}{col 27}{res}{space 2} .0940932{col 39}{space 2} 1.678071{col 50}{space 1}    0.06{col 59}{space 3}0.955{col 67}{space 4}-3.238701{col 80}{space 3} 3.426888
{txt}{space 20}2012  {c |}{col 27}{res}{space 2} .4876132{col 39}{space 2} 1.755731{col 50}{space 1}    0.28{col 59}{space 3}0.782{col 67}{space 4} -2.99942{col 80}{space 3} 3.974647
{txt}{space 20}2013  {c |}{col 27}{res}{space 2} .2136611{col 39}{space 2} 1.849001{col 50}{space 1}    0.12{col 59}{space 3}0.908{col 67}{space 4}-3.458615{col 80}{space 3} 3.885937
{txt}{space 20}2014  {c |}{col 27}{res}{space 2}-.3690151{col 39}{space 2} 1.939579{col 50}{space 1}   -0.19{col 59}{space 3}0.850{col 67}{space 4}-4.221186{col 80}{space 3} 3.483156
{txt}{space 20}2015  {c |}{col 27}{res}{space 2}  .181617{col 39}{space 2} 1.978547{col 50}{space 1}    0.09{col 59}{space 3}0.927{col 67}{space 4}-3.747947{col 80}{space 3} 4.111181
{txt}{space 20}2016  {c |}{col 27}{res}{space 2}  .643073{col 39}{space 2}  2.03685{col 50}{space 1}    0.32{col 59}{space 3}0.753{col 67}{space 4}-3.402286{col 80}{space 3} 4.688432
{txt}{space 20}2017  {c |}{col 27}{res}{space 2}  .579541{col 39}{space 2} 2.163032{col 50}{space 1}    0.27{col 59}{space 3}0.789{col 67}{space 4}-3.716427{col 80}{space 3} 4.875509
{txt}{space 25} {c |}
{space 20}_cons {c |}{col 27}{res}{space 2} 89.73002{col 39}{space 2} 120.4172{col 50}{space 1}    0.75{col 59}{space 3}0.458{col 67}{space 4} -149.429{col 80}{space 3}  328.889
{txt}{hline 26}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
                  sigma_u {c |} {res} 9.2334166
                  {txt}sigma_e {c |} {res} 1.0441663
                      {txt}rho {c |} {res} .98737313{txt}   (fraction of variance due to u_i)
{hline 26}{c BT}{hline 64}
F test that all u_i=0: F({res}17{txt}, {res}92{txt}) = {res}4.72{col 62}{txt}Prob > F = {res}0.0000
{txt}({res}est4{txt} stored)

{com}. eststo: xtreg OFa_all_pop_ln L1.OFa_all_pop_ln   c.protestpcL1##c.polity2L1  lngdppc lngdp NaturalResources  urban_pop electricity FDI_inflow tradeopenness chineseworkers_capita  bri_carryover  i.year   , fe
{res}
{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}       153
{txt}Group variable: {res}cowcode{txt}{col 49}Number of groups{col 67}={col 69}{res}        18

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.3363{col 63}{txt}min{col 67}={col 69}{res}         3
{txt}     between = {res}0.1273{col 63}{txt}avg{col 67}={col 69}{res}       8.5
{txt}     overall = {res}0.0348{col 63}{txt}max{col 67}={col 69}{res}        13

{txt}{col 49}F({res}29{txt},{res}106{txt}){col 67}={col 70}{res}     1.85
{txt}corr(u_i, Xb){col 16}= {res}-0.9645{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0125

{txt}{hline 26}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}           OFa_all_pop_ln{col 27}{c |}      Coef.{col 39}   Std. Err.{col 51}      t{col 59}   P>|t|{col 67}     [95% Con{col 80}f. Interval]
{hline 26}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 11}OFa_all_pop_ln {c |}
{space 22}L1. {c |}{col 27}{res}{space 2}-.0591127{col 39}{space 2} .0983974{col 50}{space 1}   -0.60{col 59}{space 3}0.549{col 67}{space 4}-.2541951{col 80}{space 3} .1359697
{txt}{space 25} {c |}
{space 14}protestpcL1 {c |}{col 27}{res}{space 2} 41.09191{col 39}{space 2} 32.96565{col 50}{space 1}    1.25{col 59}{space 3}0.215{col 67}{space 4}-24.26569{col 80}{space 3} 106.4495
{txt}{space 16}polity2L1 {c |}{col 27}{res}{space 2} .0733644{col 39}{space 2} .0458517{col 50}{space 1}    1.60{col 59}{space 3}0.113{col 67}{space 4} -.017541{col 80}{space 3} .1642699
{txt}{space 25} {c |}
c.protestpcL1#c.polity2L1 {c |}{col 27}{res}{space 2}-6.409019{col 39}{space 2} 4.261732{col 50}{space 1}   -1.50{col 59}{space 3}0.136{col 67}{space 4}-14.85832{col 80}{space 3} 2.040279
{txt}{space 25} {c |}
{space 18}lngdppc {c |}{col 27}{res}{space 2} .3888795{col 39}{space 2} 6.399136{col 50}{space 1}    0.06{col 59}{space 3}0.952{col 67}{space 4}-12.29803{col 80}{space 3} 13.07579
{txt}{space 20}lngdp {c |}{col 27}{res}{space 2}  1.98778{col 39}{space 2} 6.267746{col 50}{space 1}    0.32{col 59}{space 3}0.752{col 67}{space 4}-10.43864{col 80}{space 3}  14.4142
{txt}{space 9}NaturalResources {c |}{col 27}{res}{space 2}-.0939553{col 39}{space 2} .0429344{col 50}{space 1}   -2.19{col 59}{space 3}0.031{col 67}{space 4} -.179077{col 80}{space 3}-.0088337
{txt}{space 16}urban_pop {c |}{col 27}{res}{space 2} .1701568{col 39}{space 2} .1114932{col 50}{space 1}    1.53{col 59}{space 3}0.130{col 67}{space 4}-.0508893{col 80}{space 3} .3912028
{txt}{space 14}electricity {c |}{col 27}{res}{space 2} -.036067{col 39}{space 2} .0190116{col 50}{space 1}   -1.90{col 59}{space 3}0.061{col 67}{space 4}-.0737593{col 80}{space 3} .0016253
{txt}{space 15}FDI_inflow {c |}{col 27}{res}{space 2}-.0145342{col 39}{space 2} .0236562{col 50}{space 1}   -0.61{col 59}{space 3}0.540{col 67}{space 4}-.0614349{col 80}{space 3} .0323665
{txt}{space 12}tradeopenness {c |}{col 27}{res}{space 2} .0219843{col 39}{space 2} .0131396{col 50}{space 1}    1.67{col 59}{space 3}0.097{col 67}{space 4}-.0040663{col 80}{space 3} .0480349
{txt}{space 4}chineseworkers_capita {c |}{col 27}{res}{space 2} .0690762{col 39}{space 2} .0442947{col 50}{space 1}    1.56{col 59}{space 3}0.122{col 67}{space 4}-.0187423{col 80}{space 3} .1568947
{txt}{space 12}bri_carryover {c |}{col 27}{res}{space 2} .1740252{col 39}{space 2} .4137308{col 50}{space 1}    0.42{col 59}{space 3}0.675{col 67}{space 4}-.6462362{col 80}{space 3} .9942867
{txt}{space 25} {c |}
{space 21}year {c |}
{space 20}2002  {c |}{col 27}{res}{space 2} .3893544{col 39}{space 2} 1.286555{col 50}{space 1}    0.30{col 59}{space 3}0.763{col 67}{space 4}-2.161367{col 80}{space 3} 2.940076
{txt}{space 20}2003  {c |}{col 27}{res}{space 2} 1.102173{col 39}{space 2} 1.229169{col 50}{space 1}    0.90{col 59}{space 3}0.372{col 67}{space 4}-1.334774{col 80}{space 3} 3.539119
{txt}{space 20}2004  {c |}{col 27}{res}{space 2} 1.797967{col 39}{space 2} 1.403296{col 50}{space 1}    1.28{col 59}{space 3}0.203{col 67}{space 4}-.9842036{col 80}{space 3} 4.580137
{txt}{space 20}2005  {c |}{col 27}{res}{space 2} 1.083384{col 39}{space 2} 1.536281{col 50}{space 1}    0.71{col 59}{space 3}0.482{col 67}{space 4}-1.962442{col 80}{space 3}  4.12921
{txt}{space 20}2006  {c |}{col 27}{res}{space 2} .8577666{col 39}{space 2} 1.306448{col 50}{space 1}    0.66{col 59}{space 3}0.513{col 67}{space 4}-1.732395{col 80}{space 3} 3.447928
{txt}{space 20}2007  {c |}{col 27}{res}{space 2}-.8825903{col 39}{space 2} 1.143043{col 50}{space 1}   -0.77{col 59}{space 3}0.442{col 67}{space 4}-3.148785{col 80}{space 3} 1.383604
{txt}{space 20}2008  {c |}{col 27}{res}{space 2}-.9404098{col 39}{space 2} 1.302321{col 50}{space 1}   -0.72{col 59}{space 3}0.472{col 67}{space 4}-3.522387{col 80}{space 3} 1.641568
{txt}{space 20}2009  {c |}{col 27}{res}{space 2} .3141251{col 39}{space 2} 1.320016{col 50}{space 1}    0.24{col 59}{space 3}0.812{col 67}{space 4}-2.302935{col 80}{space 3} 2.931186
{txt}{space 20}2010  {c |}{col 27}{res}{space 2}-.2841378{col 39}{space 2} 1.390734{col 50}{space 1}   -0.20{col 59}{space 3}0.839{col 67}{space 4}-3.041404{col 80}{space 3} 2.473128
{txt}{space 20}2011  {c |}{col 27}{res}{space 2}-.6788402{col 39}{space 2} 1.563864{col 50}{space 1}   -0.43{col 59}{space 3}0.665{col 67}{space 4}-3.779352{col 80}{space 3} 2.421672
{txt}{space 20}2012  {c |}{col 27}{res}{space 2}-.4921478{col 39}{space 2} 1.635777{col 50}{space 1}   -0.30{col 59}{space 3}0.764{col 67}{space 4}-3.735234{col 80}{space 3} 2.750939
{txt}{space 20}2013  {c |}{col 27}{res}{space 2}-1.027405{col 39}{space 2} 1.723095{col 50}{space 1}   -0.60{col 59}{space 3}0.552{col 67}{space 4}-4.443609{col 80}{space 3} 2.388799
{txt}{space 20}2014  {c |}{col 27}{res}{space 2}-1.734451{col 39}{space 2} 1.817259{col 50}{space 1}   -0.95{col 59}{space 3}0.342{col 67}{space 4}-5.337344{col 80}{space 3} 1.868442
{txt}{space 20}2015  {c |}{col 27}{res}{space 2}-1.376868{col 39}{space 2} 1.899017{col 50}{space 1}   -0.73{col 59}{space 3}0.470{col 67}{space 4}-5.141854{col 80}{space 3} 2.388119
{txt}{space 20}2016  {c |}{col 27}{res}{space 2}-.9999608{col 39}{space 2} 1.979917{col 50}{space 1}   -0.51{col 59}{space 3}0.615{col 67}{space 4}-4.925338{col 80}{space 3} 2.925416
{txt}{space 20}2017  {c |}{col 27}{res}{space 2}-1.068801{col 39}{space 2} 2.086341{col 50}{space 1}   -0.51{col 59}{space 3}0.610{col 67}{space 4}-5.205175{col 80}{space 3} 3.067572
{txt}{space 25} {c |}
{space 20}_cons {c |}{col 27}{res}{space 2}-54.39944{col 39}{space 2} 109.6546{col 50}{space 1}   -0.50{col 59}{space 3}0.621{col 67}{space 4}-271.8004{col 80}{space 3} 163.0015
{txt}{hline 26}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
                  sigma_u {c |} {res} 5.5941596
                  {txt}sigma_e {c |} {res} 1.0678613
                      {txt}rho {c |} {res} .96484262{txt}   (fraction of variance due to u_i)
{hline 26}{c BT}{hline 64}
F test that all u_i=0: F({res}17{txt}, {res}106{txt}) = {res}3.97{col 62}{txt}Prob > F = {res}0.0000
{txt}({res}est5{txt} stored)

{com}. 
{txt}end of do-file

{com}. do "C:\Users\yujeo\AppData\Local\Temp\STD01000000.tmp"
{txt}
{com}. *Table A12: Anti-China Protests and Polity on Top Elite Visits
. eststo clear
{txt}
{com}. eststo: xtreg leader_visits  c.protestL1##c.polity2L1   i.year   , fe robust
{res}
{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}       254
{txt}Group variable: {res}cowcode{txt}{col 49}Number of groups{col 67}={col 69}{res}        23

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.1111{col 63}{txt}min{col 67}={col 69}{res}         4
{txt}     between = {res}0.1378{col 63}{txt}avg{col 67}={col 69}{res}      11.0
{txt}     overall = {res}0.1101{col 63}{txt}max{col 67}={col 69}{res}        18

{txt}{col 49}F({res}21{txt},{res}22{txt}){col 67}={col 70}{res}  6344.95
{txt}corr(u_i, Xb){col 16}= {res}-0.0204{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0000

{txt}{ralign 89:(Std. Err. adjusted for {res:23} clusters in cowcode)}
{hline 24}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 25}{c |}{col 37}    Robust
{col 1}          leader_visits{col 25}{c |}      Coef.{col 37}   Std. Err.{col 49}      t{col 57}   P>|t|{col 65}     [95% Con{col 78}f. Interval]
{hline 24}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 14}protestL1 {c |}{col 25}{res}{space 2} .0007485{col 37}{space 2} .0003088{col 48}{space 1}    2.42{col 57}{space 3}0.024{col 65}{space 4}  .000108{col 78}{space 3} .0013889
{txt}{space 14}polity2L1 {c |}{col 25}{res}{space 2}-.0022767{col 37}{space 2}  .007278{col 48}{space 1}   -0.31{col 57}{space 3}0.757{col 65}{space 4}-.0173703{col 78}{space 3} .0128169
{txt}{space 23} {c |}
c.protestL1#c.polity2L1 {c |}{col 25}{res}{space 2}-.0001261{col 37}{space 2} .0000216{col 48}{space 1}   -5.85{col 57}{space 3}0.000{col 65}{space 4}-.0001708{col 78}{space 3}-.0000814
{txt}{space 23} {c |}
{space 19}year {c |}
{space 18}2002  {c |}{col 25}{res}{space 2} .0912571{col 37}{space 2}  .351133{col 48}{space 1}    0.26{col 57}{space 3}0.797{col 65}{space 4}-.6369481{col 78}{space 3} .8194623
{txt}{space 18}2003  {c |}{col 25}{res}{space 2}-.3489969{col 37}{space 2} .2277394{col 48}{space 1}   -1.53{col 57}{space 3}0.140{col 65}{space 4}-.8212996{col 78}{space 3} .1233058
{txt}{space 18}2004  {c |}{col 25}{res}{space 2}-.0762242{col 37}{space 2} .2949361{col 48}{space 1}   -0.26{col 57}{space 3}0.798{col 65}{space 4}-.6878843{col 78}{space 3}  .535436
{txt}{space 18}2005  {c |}{col 25}{res}{space 2} .4777166{col 37}{space 2}  .331589{col 48}{space 1}    1.44{col 57}{space 3}0.164{col 65}{space 4} -.209957{col 78}{space 3}  1.16539
{txt}{space 18}2006  {c |}{col 25}{res}{space 2}-.2642675{col 37}{space 2} .2298505{col 48}{space 1}   -1.15{col 57}{space 3}0.263{col 65}{space 4}-.7409483{col 78}{space 3} .2124134
{txt}{space 18}2007  {c |}{col 25}{res}{space 2}-.0694977{col 37}{space 2} .2608431{col 48}{space 1}   -0.27{col 57}{space 3}0.792{col 65}{space 4}-.6104531{col 78}{space 3} .4714577
{txt}{space 18}2008  {c |}{col 25}{res}{space 2}-.2710561{col 37}{space 2} .2210767{col 48}{space 1}   -1.23{col 57}{space 3}0.233{col 65}{space 4}-.7295411{col 78}{space 3}  .187429
{txt}{space 18}2009  {c |}{col 25}{res}{space 2}-.2162324{col 37}{space 2} .2310768{col 48}{space 1}   -0.94{col 57}{space 3}0.360{col 65}{space 4}-.6954565{col 78}{space 3} .2629916
{txt}{space 18}2010  {c |}{col 25}{res}{space 2} .0268746{col 37}{space 2} .2752389{col 48}{space 1}    0.10{col 57}{space 3}0.923{col 65}{space 4}-.5439359{col 78}{space 3}  .597685
{txt}{space 18}2011  {c |}{col 25}{res}{space 2}-.1189054{col 37}{space 2} .2080458{col 48}{space 1}   -0.57{col 57}{space 3}0.573{col 65}{space 4} -.550366{col 78}{space 3} .3125553
{txt}{space 18}2012  {c |}{col 25}{res}{space 2}-.0406085{col 37}{space 2} .2611401{col 48}{space 1}   -0.16{col 57}{space 3}0.878{col 65}{space 4}-.5821799{col 78}{space 3}  .500963
{txt}{space 18}2013  {c |}{col 25}{res}{space 2} .1523846{col 37}{space 2} .2338379{col 48}{space 1}    0.65{col 57}{space 3}0.521{col 65}{space 4}-.3325655{col 78}{space 3} .6373347
{txt}{space 18}2014  {c |}{col 25}{res}{space 2} .0256774{col 37}{space 2}  .280661{col 48}{space 1}    0.09{col 57}{space 3}0.928{col 65}{space 4}-.5563779{col 78}{space 3} .6077327
{txt}{space 18}2015  {c |}{col 25}{res}{space 2}-.1040527{col 37}{space 2} .2466979{col 48}{space 1}   -0.42{col 57}{space 3}0.677{col 65}{space 4}-.6156729{col 78}{space 3} .4075675
{txt}{space 18}2016  {c |}{col 25}{res}{space 2} .0809127{col 37}{space 2} .2739651{col 48}{space 1}    0.30{col 57}{space 3}0.771{col 65}{space 4}-.4872562{col 78}{space 3} .6490816
{txt}{space 18}2017  {c |}{col 25}{res}{space 2}-.0921378{col 37}{space 2} .2493495{col 48}{space 1}   -0.37{col 57}{space 3}0.715{col 65}{space 4} -.609257{col 78}{space 3} .4249815
{txt}{space 18}2018  {c |}{col 25}{res}{space 2}-.1262688{col 37}{space 2} .2434887{col 48}{space 1}   -0.52{col 57}{space 3}0.609{col 65}{space 4}-.6312335{col 78}{space 3} .3786959
{txt}{space 18}2019  {c |}{col 25}{res}{space 2}-.0820949{col 37}{space 2} .2251336{col 48}{space 1}   -0.36{col 57}{space 3}0.719{col 65}{space 4}-.5489933{col 78}{space 3} .3848035
{txt}{space 23} {c |}
{space 18}_cons {c |}{col 25}{res}{space 2} .2927772{col 37}{space 2} .2203632{col 48}{space 1}    1.33{col 57}{space 3}0.198{col 65}{space 4}-.1642281{col 78}{space 3} .7497825
{txt}{hline 24}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
                sigma_u {c |} {res}  .1577409
                {txt}sigma_e {c |} {res} .42572784
                    {txt}rho {c |} {res} .12071328{txt}   (fraction of variance due to u_i)
{hline 24}{c BT}{hline 64}
({res}est1{txt} stored)

{com}. eststo: xtreg leader_visits  L1.leader_visits c.protestL1##c.polity2L1   i.year   , fe robust
{res}
{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}       254
{txt}Group variable: {res}cowcode{txt}{col 49}Number of groups{col 67}={col 69}{res}        23

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.1433{col 63}{txt}min{col 67}={col 69}{res}         4
{txt}     between = {res}0.0756{col 63}{txt}avg{col 67}={col 69}{res}      11.0
{txt}     overall = {res}0.1038{col 63}{txt}max{col 67}={col 69}{res}        18

{txt}{col 49}F({res}22{txt},{res}22{txt}){col 67}={col 70}{res} 34032.57
{txt}corr(u_i, Xb){col 16}= {res}-0.1240{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0000

{txt}{ralign 89:(Std. Err. adjusted for {res:23} clusters in cowcode)}
{hline 24}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 25}{c |}{col 37}    Robust
{col 1}          leader_visits{col 25}{c |}      Coef.{col 37}   Std. Err.{col 49}      t{col 57}   P>|t|{col 65}     [95% Con{col 78}f. Interval]
{hline 24}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 10}leader_visits {c |}
{space 20}L1. {c |}{col 25}{res}{space 2}-.1858227{col 37}{space 2} .0613474{col 48}{space 1}   -3.03{col 57}{space 3}0.006{col 65}{space 4}-.3130494{col 78}{space 3} -.058596
{txt}{space 23} {c |}
{space 14}protestL1 {c |}{col 25}{res}{space 2} .0005654{col 37}{space 2} .0003343{col 48}{space 1}    1.69{col 57}{space 3}0.105{col 65}{space 4} -.000128{col 78}{space 3} .0012587
{txt}{space 14}polity2L1 {c |}{col 25}{res}{space 2}-.0002495{col 37}{space 2} .0093373{col 48}{space 1}   -0.03{col 57}{space 3}0.979{col 65}{space 4}-.0196139{col 78}{space 3} .0191149
{txt}{space 23} {c |}
c.protestL1#c.polity2L1 {c |}{col 25}{res}{space 2} -.000116{col 37}{space 2} .0000205{col 48}{space 1}   -5.67{col 57}{space 3}0.000{col 65}{space 4}-.0001584{col 78}{space 3}-.0000735
{txt}{space 23} {c |}
{space 19}year {c |}
{space 18}2002  {c |}{col 25}{res}{space 2} .0638807{col 37}{space 2} .3283693{col 48}{space 1}    0.19{col 57}{space 3}0.848{col 65}{space 4}-.6171156{col 78}{space 3} .7448769
{txt}{space 18}2003  {c |}{col 25}{res}{space 2}-.3277431{col 37}{space 2} .2415921{col 48}{space 1}   -1.36{col 57}{space 3}0.189{col 65}{space 4}-.8287745{col 78}{space 3} .1732883
{txt}{space 18}2004  {c |}{col 25}{res}{space 2}-.1045986{col 37}{space 2} .2751863{col 48}{space 1}   -0.38{col 57}{space 3}0.708{col 65}{space 4}   -.6753{col 78}{space 3} .4661029
{txt}{space 18}2005  {c |}{col 25}{res}{space 2} .4708203{col 37}{space 2}  .340851{col 48}{space 1}    1.38{col 57}{space 3}0.181{col 65}{space 4}-.2360615{col 78}{space 3} 1.177702
{txt}{space 18}2006  {c |}{col 25}{res}{space 2}-.2905182{col 37}{space 2} .2237334{col 48}{space 1}   -1.30{col 57}{space 3}0.208{col 65}{space 4}-.7545129{col 78}{space 3} .1734766
{txt}{space 18}2007  {c |}{col 25}{res}{space 2} -.061577{col 37}{space 2} .2560042{col 48}{space 1}   -0.24{col 57}{space 3}0.812{col 65}{space 4}-.5924972{col 78}{space 3} .4693431
{txt}{space 18}2008  {c |}{col 25}{res}{space 2}-.2752416{col 37}{space 2} .2174185{col 48}{space 1}   -1.27{col 57}{space 3}0.219{col 65}{space 4}  -.72614{col 78}{space 3} .1756568
{txt}{space 18}2009  {c |}{col 25}{res}{space 2}-.2536363{col 37}{space 2} .2246419{col 48}{space 1}   -1.13{col 57}{space 3}0.271{col 65}{space 4}-.7195152{col 78}{space 3} .2122425
{txt}{space 18}2010  {c |}{col 25}{res}{space 2}-.0114204{col 37}{space 2} .2704458{col 48}{space 1}   -0.04{col 57}{space 3}0.967{col 65}{space 4}-.5722905{col 78}{space 3} .5494498
{txt}{space 18}2011  {c |}{col 25}{res}{space 2}-.1083188{col 37}{space 2} .2015231{col 48}{space 1}   -0.54{col 57}{space 3}0.596{col 65}{space 4}-.5262522{col 78}{space 3} .3096145
{txt}{space 18}2012  {c |}{col 25}{res}{space 2}-.0637734{col 37}{space 2} .2366015{col 48}{space 1}   -0.27{col 57}{space 3}0.790{col 65}{space 4}-.5544549{col 78}{space 3}  .426908
{txt}{space 18}2013  {c |}{col 25}{res}{space 2} .1602301{col 37}{space 2} .2258434{col 48}{space 1}    0.71{col 57}{space 3}0.485{col 65}{space 4}-.3081405{col 78}{space 3} .6286007
{txt}{space 18}2014  {c |}{col 25}{res}{space 2} .0708235{col 37}{space 2} .2669582{col 48}{space 1}    0.27{col 57}{space 3}0.793{col 65}{space 4} -.482814{col 78}{space 3}  .624461
{txt}{space 18}2015  {c |}{col 25}{res}{space 2}  -.09191{col 37}{space 2} .2402085{col 48}{space 1}   -0.38{col 57}{space 3}0.706{col 65}{space 4}-.5900719{col 78}{space 3} .4062519
{txt}{space 18}2016  {c |}{col 25}{res}{space 2}  .071197{col 37}{space 2} .2591791{col 48}{space 1}    0.27{col 57}{space 3}0.786{col 65}{space 4}-.4663076{col 78}{space 3} .6087015
{txt}{space 18}2017  {c |}{col 25}{res}{space 2}-.0757454{col 37}{space 2} .2427704{col 48}{space 1}   -0.31{col 57}{space 3}0.758{col 65}{space 4}-.5792204{col 78}{space 3} .4277296
{txt}{space 18}2018  {c |}{col 25}{res}{space 2}-.1378989{col 37}{space 2} .2370308{col 48}{space 1}   -0.58{col 57}{space 3}0.567{col 65}{space 4}-.6294707{col 78}{space 3} .3536728
{txt}{space 18}2019  {c |}{col 25}{res}{space 2}-.0878047{col 37}{space 2} .2149939{col 48}{space 1}   -0.41{col 57}{space 3}0.687{col 65}{space 4}-.5336749{col 78}{space 3} .3580655
{txt}{space 23} {c |}
{space 18}_cons {c |}{col 25}{res}{space 2} .3427819{col 37}{space 2} .2191376{col 48}{space 1}    1.56{col 57}{space 3}0.132{col 65}{space 4}-.1116817{col 78}{space 3} .7972455
{txt}{hline 24}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
                sigma_u {c |} {res} .18490397
                {txt}sigma_e {c |} {res} .41895798
                    {txt}rho {c |} {res} .16302808{txt}   (fraction of variance due to u_i)
{hline 24}{c BT}{hline 64}
({res}est2{txt} stored)

{com}. eststo: xtreg leader_visits  c.protestL1##c.polity2L1  lngdppc lngdp NaturalResources  urban_pop electricity   i.year   , fe robust
{res}
{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}       254
{txt}Group variable: {res}cowcode{txt}{col 49}Number of groups{col 67}={col 69}{res}        23

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.1181{col 63}{txt}min{col 67}={col 69}{res}         4
{txt}     between = {res}0.0781{col 63}{txt}avg{col 67}={col 69}{res}      11.0
{txt}     overall = {res}0.0051{col 63}{txt}max{col 67}={col 69}{res}        18

{col 49}{help j_robustsingular##|_new:F(22,22)}{col 67}{txt}={col 70}{res}        .
{txt}corr(u_i, Xb){col 16}= {res}-0.9962{txt}{col 49}Prob > F{col 67}={col 73}{res}     .

{txt}{ralign 89:(Std. Err. adjusted for {res:23} clusters in cowcode)}
{hline 24}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 25}{c |}{col 37}    Robust
{col 1}          leader_visits{col 25}{c |}      Coef.{col 37}   Std. Err.{col 49}      t{col 57}   P>|t|{col 65}     [95% Con{col 78}f. Interval]
{hline 24}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 14}protestL1 {c |}{col 25}{res}{space 2} .0006362{col 37}{space 2} .0003662{col 48}{space 1}    1.74{col 57}{space 3}0.096{col 65}{space 4}-.0001234{col 78}{space 3} .0013957
{txt}{space 14}polity2L1 {c |}{col 25}{res}{space 2}-.0025316{col 37}{space 2} .0077019{col 48}{space 1}   -0.33{col 57}{space 3}0.745{col 65}{space 4}-.0185043{col 78}{space 3} .0134411
{txt}{space 23} {c |}
c.protestL1#c.polity2L1 {c |}{col 25}{res}{space 2}-.0001302{col 37}{space 2} .0000308{col 48}{space 1}   -4.23{col 57}{space 3}0.000{col 65}{space 4}-.0001941{col 78}{space 3}-.0000664
{txt}{space 23} {c |}
{space 16}lngdppc {c |}{col 25}{res}{space 2}-1.259914{col 37}{space 2} 1.246238{col 48}{space 1}   -1.01{col 57}{space 3}0.323{col 65}{space 4}-3.844452{col 78}{space 3} 1.324625
{txt}{space 18}lngdp {c |}{col 25}{res}{space 2} 1.360568{col 37}{space 2} 1.258176{col 48}{space 1}    1.08{col 57}{space 3}0.291{col 65}{space 4} -1.24873{col 78}{space 3} 3.969865
{txt}{space 7}NaturalResources {c |}{col 25}{res}{space 2}-.0056095{col 37}{space 2} .0068103{col 48}{space 1}   -0.82{col 57}{space 3}0.419{col 65}{space 4}-.0197331{col 78}{space 3} .0085141
{txt}{space 14}urban_pop {c |}{col 25}{res}{space 2} .0044999{col 37}{space 2}  .020392{col 48}{space 1}    0.22{col 57}{space 3}0.827{col 65}{space 4}-.0377906{col 78}{space 3} .0467903
{txt}{space 12}electricity {c |}{col 25}{res}{space 2}-.0005661{col 37}{space 2} .0033724{col 48}{space 1}   -0.17{col 57}{space 3}0.868{col 65}{space 4}-.0075599{col 78}{space 3} .0064278
{txt}{space 23} {c |}
{space 19}year {c |}
{space 18}2002  {c |}{col 25}{res}{space 2} .0417504{col 37}{space 2} .3605746{col 48}{space 1}    0.12{col 57}{space 3}0.909{col 65}{space 4}-.7060356{col 78}{space 3} .7895364
{txt}{space 18}2003  {c |}{col 25}{res}{space 2}-.4096687{col 37}{space 2}  .231342{col 48}{space 1}   -1.77{col 57}{space 3}0.090{col 65}{space 4}-.8894427{col 78}{space 3} .0701053
{txt}{space 18}2004  {c |}{col 25}{res}{space 2}-.1841729{col 37}{space 2} .3135288{col 48}{space 1}   -0.59{col 57}{space 3}0.563{col 65}{space 4}-.8343918{col 78}{space 3}  .466046
{txt}{space 18}2005  {c |}{col 25}{res}{space 2} .3484143{col 37}{space 2} .3516391{col 48}{space 1}    0.99{col 57}{space 3}0.333{col 65}{space 4}-.3808406{col 78}{space 3} 1.077669
{txt}{space 18}2006  {c |}{col 25}{res}{space 2}-.4698991{col 37}{space 2} .2939715{col 48}{space 1}   -1.60{col 57}{space 3}0.124{col 65}{space 4}-1.079559{col 78}{space 3} .1397604
{txt}{space 18}2007  {c |}{col 25}{res}{space 2}-.2765835{col 37}{space 2} .3361127{col 48}{space 1}   -0.82{col 57}{space 3}0.419{col 65}{space 4}-.9736386{col 78}{space 3} .4204715
{txt}{space 18}2008  {c |}{col 25}{res}{space 2}-.5151758{col 37}{space 2} .3255635{col 48}{space 1}   -1.58{col 57}{space 3}0.128{col 65}{space 4}-1.190353{col 78}{space 3} .1600016
{txt}{space 18}2009  {c |}{col 25}{res}{space 2}  -.47588{col 37}{space 2} .3223528{col 48}{space 1}   -1.48{col 57}{space 3}0.154{col 65}{space 4}-1.144399{col 78}{space 3} .1926389
{txt}{space 18}2010  {c |}{col 25}{res}{space 2}-.2600275{col 37}{space 2}  .386625{col 48}{space 1}   -0.67{col 57}{space 3}0.508{col 65}{space 4}-1.061839{col 78}{space 3} .5417837
{txt}{space 18}2011  {c |}{col 25}{res}{space 2}-.4384527{col 37}{space 2} .3781418{col 48}{space 1}   -1.16{col 57}{space 3}0.259{col 65}{space 4}-1.222671{col 78}{space 3} .3457654
{txt}{space 18}2012  {c |}{col 25}{res}{space 2}-.3901776{col 37}{space 2}   .44194{col 48}{space 1}   -0.88{col 57}{space 3}0.387{col 65}{space 4}-1.306705{col 78}{space 3} .5263497
{txt}{space 18}2013  {c |}{col 25}{res}{space 2}-.2258588{col 37}{space 2} .4823862{col 48}{space 1}   -0.47{col 57}{space 3}0.644{col 65}{space 4}-1.226267{col 78}{space 3} .7745491
{txt}{space 18}2014  {c |}{col 25}{res}{space 2}-.3775311{col 37}{space 2} .4579085{col 48}{space 1}   -0.82{col 57}{space 3}0.419{col 65}{space 4}-1.327175{col 78}{space 3}  .572113
{txt}{space 18}2015  {c |}{col 25}{res}{space 2}-.5309825{col 37}{space 2} .4464438{col 48}{space 1}   -1.19{col 57}{space 3}0.247{col 65}{space 4} -1.45685{col 78}{space 3} .3948852
{txt}{space 18}2016  {c |}{col 25}{res}{space 2}-.3738556{col 37}{space 2} .4396452{col 48}{space 1}   -0.85{col 57}{space 3}0.404{col 65}{space 4}-1.285624{col 78}{space 3} .5379127
{txt}{space 18}2017  {c |}{col 25}{res}{space 2}-.5568729{col 37}{space 2} .4786099{col 48}{space 1}   -1.16{col 57}{space 3}0.257{col 65}{space 4}-1.549449{col 78}{space 3} .4357034
{txt}{space 18}2018  {c |}{col 25}{res}{space 2}-.6121738{col 37}{space 2} .5233568{col 48}{space 1}   -1.17{col 57}{space 3}0.255{col 65}{space 4}-1.697549{col 78}{space 3} .4732018
{txt}{space 18}2019  {c |}{col 25}{res}{space 2} -.608686{col 37}{space 2} .5289047{col 48}{space 1}   -1.15{col 57}{space 3}0.262{col 65}{space 4}-1.705567{col 78}{space 3} .4881953
{txt}{space 23} {c |}
{space 18}_cons {c |}{col 25}{res}{space 2}-23.90773{col 37}{space 2} 21.93522{col 48}{space 1}   -1.09{col 57}{space 3}0.288{col 65}{space 4}-69.39859{col 78}{space 3} 21.58313
{txt}{hline 24}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
                sigma_u {c |} {res} 2.4071847
                {txt}sigma_e {c |} {res} .42919649
                    {txt}rho {c |} {res} .96918926{txt}   (fraction of variance due to u_i)
{hline 24}{c BT}{hline 64}
({res}est3{txt} stored)

{com}. eststo: xtreg leader_visits  c.protestL1##c.polity2L1  lngdppc lngdp NaturalResources  urban_pop electricity FDI_inflow tradeopenness  i.year   , fe robust
{res}
{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}       221
{txt}Group variable: {res}cowcode{txt}{col 49}Number of groups{col 67}={col 69}{res}        20

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.1336{col 63}{txt}min{col 67}={col 69}{res}         3
{txt}     between = {res}0.0708{col 63}{txt}avg{col 67}={col 69}{res}      11.1
{txt}     overall = {res}0.0033{col 63}{txt}max{col 67}={col 69}{res}        18

{col 49}{help j_robustsingular##|_new:F(19,19)}{col 67}{txt}={col 70}{res}        .
{txt}corr(u_i, Xb){col 16}= {res}-0.9977{txt}{col 49}Prob > F{col 67}={col 73}{res}     .

{txt}{ralign 89:(Std. Err. adjusted for {res:20} clusters in cowcode)}
{hline 24}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 25}{c |}{col 37}    Robust
{col 1}          leader_visits{col 25}{c |}      Coef.{col 37}   Std. Err.{col 49}      t{col 57}   P>|t|{col 65}     [95% Con{col 78}f. Interval]
{hline 24}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 14}protestL1 {c |}{col 25}{res}{space 2}  .000507{col 37}{space 2} .0029173{col 48}{space 1}    0.17{col 57}{space 3}0.864{col 65}{space 4}-.0055989{col 78}{space 3}  .006613
{txt}{space 14}polity2L1 {c |}{col 25}{res}{space 2}-.0024194{col 37}{space 2} .0108395{col 48}{space 1}   -0.22{col 57}{space 3}0.826{col 65}{space 4}-.0251067{col 78}{space 3}  .020268
{txt}{space 23} {c |}
c.protestL1#c.polity2L1 {c |}{col 25}{res}{space 2}-.0001155{col 37}{space 2} .0003529{col 48}{space 1}   -0.33{col 57}{space 3}0.747{col 65}{space 4} -.000854{col 78}{space 3} .0006231
{txt}{space 23} {c |}
{space 16}lngdppc {c |}{col 25}{res}{space 2}-1.526693{col 37}{space 2} 1.265193{col 48}{space 1}   -1.21{col 57}{space 3}0.242{col 65}{space 4}-4.174772{col 78}{space 3} 1.121385
{txt}{space 18}lngdp {c |}{col 25}{res}{space 2} 1.740109{col 37}{space 2} 1.202072{col 48}{space 1}    1.45{col 57}{space 3}0.164{col 65}{space 4}-.7758553{col 78}{space 3} 4.256074
{txt}{space 7}NaturalResources {c |}{col 25}{res}{space 2}-.0066349{col 37}{space 2} .0111484{col 48}{space 1}   -0.60{col 57}{space 3}0.559{col 65}{space 4}-.0299687{col 78}{space 3}  .016699
{txt}{space 14}urban_pop {c |}{col 25}{res}{space 2} .0149794{col 37}{space 2} .0195974{col 48}{space 1}    0.76{col 57}{space 3}0.454{col 65}{space 4}-.0260385{col 78}{space 3} .0559972
{txt}{space 12}electricity {c |}{col 25}{res}{space 2}-.0018359{col 37}{space 2} .0047662{col 48}{space 1}   -0.39{col 57}{space 3}0.704{col 65}{space 4}-.0118117{col 78}{space 3}   .00814
{txt}{space 13}FDI_inflow {c |}{col 25}{res}{space 2}-.0082749{col 37}{space 2} .0052992{col 48}{space 1}   -1.56{col 57}{space 3}0.135{col 65}{space 4}-.0193664{col 78}{space 3} .0028165
{txt}{space 10}tradeopenness {c |}{col 25}{res}{space 2} .0011684{col 37}{space 2} .0018241{col 48}{space 1}    0.64{col 57}{space 3}0.530{col 65}{space 4}-.0026496{col 78}{space 3} .0049863
{txt}{space 23} {c |}
{space 19}year {c |}
{space 18}2002  {c |}{col 25}{res}{space 2} .0407897{col 37}{space 2}  .375085{col 48}{space 1}    0.11{col 57}{space 3}0.915{col 65}{space 4}-.7442722{col 78}{space 3} .8258516
{txt}{space 18}2003  {c |}{col 25}{res}{space 2}-.4213102{col 37}{space 2} .2398171{col 48}{space 1}   -1.76{col 57}{space 3}0.095{col 65}{space 4}-.9232531{col 78}{space 3} .0806327
{txt}{space 18}2004  {c |}{col 25}{res}{space 2}-.4416909{col 37}{space 2} .2628659{col 48}{space 1}   -1.68{col 57}{space 3}0.109{col 65}{space 4}-.9918755{col 78}{space 3} .1084937
{txt}{space 18}2005  {c |}{col 25}{res}{space 2} .5049706{col 37}{space 2} .2598836{col 48}{space 1}    1.94{col 57}{space 3}0.067{col 65}{space 4}-.0389721{col 78}{space 3} 1.048913
{txt}{space 18}2006  {c |}{col 25}{res}{space 2}-.5596785{col 37}{space 2} .3034203{col 48}{space 1}   -1.84{col 57}{space 3}0.081{col 65}{space 4}-1.194745{col 78}{space 3} .0753875
{txt}{space 18}2007  {c |}{col 25}{res}{space 2}-.3635584{col 37}{space 2} .3198649{col 48}{space 1}   -1.14{col 57}{space 3}0.270{col 65}{space 4}-1.033043{col 78}{space 3} .3059265
{txt}{space 18}2008  {c |}{col 25}{res}{space 2}-.6426593{col 37}{space 2} .3117673{col 48}{space 1}   -2.06{col 57}{space 3}0.053{col 65}{space 4}-1.295196{col 78}{space 3} .0098771
{txt}{space 18}2009  {c |}{col 25}{res}{space 2}-.5853919{col 37}{space 2} .2998144{col 48}{space 1}   -1.95{col 57}{space 3}0.066{col 65}{space 4}-1.212911{col 78}{space 3} .0421267
{txt}{space 18}2010  {c |}{col 25}{res}{space 2}-.3755162{col 37}{space 2} .3795297{col 48}{space 1}   -0.99{col 57}{space 3}0.335{col 65}{space 4}-1.169881{col 78}{space 3} .4188486
{txt}{space 18}2011  {c |}{col 25}{res}{space 2}-.5905135{col 37}{space 2} .3508391{col 48}{space 1}   -1.68{col 57}{space 3}0.109{col 65}{space 4}-1.324828{col 78}{space 3} .1438011
{txt}{space 18}2012  {c |}{col 25}{res}{space 2}-.5289954{col 37}{space 2} .3996514{col 48}{space 1}   -1.32{col 57}{space 3}0.201{col 65}{space 4}-1.365475{col 78}{space 3} .3074845
{txt}{space 18}2013  {c |}{col 25}{res}{space 2}-.4378341{col 37}{space 2} .4386549{col 48}{space 1}   -1.00{col 57}{space 3}0.331{col 65}{space 4}-1.355949{col 78}{space 3} .4802812
{txt}{space 18}2014  {c |}{col 25}{res}{space 2}-.5687626{col 37}{space 2} .4169884{col 48}{space 1}   -1.36{col 57}{space 3}0.189{col 65}{space 4}-1.441529{col 78}{space 3} .3040042
{txt}{space 18}2015  {c |}{col 25}{res}{space 2}-.7479833{col 37}{space 2} .4041586{col 48}{space 1}   -1.85{col 57}{space 3}0.080{col 65}{space 4}-1.593897{col 78}{space 3} .0979304
{txt}{space 18}2016  {c |}{col 25}{res}{space 2}-.5666337{col 37}{space 2} .3858174{col 48}{space 1}   -1.47{col 57}{space 3}0.158{col 65}{space 4}-1.374159{col 78}{space 3} .2408914
{txt}{space 18}2017  {c |}{col 25}{res}{space 2}-.8513282{col 37}{space 2} .4122084{col 48}{space 1}   -2.07{col 57}{space 3}0.053{col 65}{space 4} -1.71409{col 78}{space 3} .0114338
{txt}{space 18}2018  {c |}{col 25}{res}{space 2}-.8273383{col 37}{space 2} .4531657{col 48}{space 1}   -1.83{col 57}{space 3}0.084{col 65}{space 4}-1.775825{col 78}{space 3} .1211484
{txt}{space 18}2019  {c |}{col 25}{res}{space 2}-.8217573{col 37}{space 2} .4331432{col 48}{space 1}   -1.90{col 57}{space 3}0.073{col 65}{space 4}-1.728336{col 78}{space 3} .0848218
{txt}{space 23} {c |}
{space 18}_cons {c |}{col 25}{res}{space 2}-31.57661{col 37}{space 2} 20.62818{col 48}{space 1}   -1.53{col 57}{space 3}0.142{col 65}{space 4} -74.7519{col 78}{space 3} 11.59867
{txt}{hline 24}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
                sigma_u {c |} {res} 3.2120591
                {txt}sigma_e {c |} {res} .44027801
                    {txt}rho {c |} {res} .98155821{txt}   (fraction of variance due to u_i)
{hline 24}{c BT}{hline 64}
({res}est4{txt} stored)

{com}. 
{txt}end of do-file

{com}. do "C:\Users\yujeo\AppData\Local\Temp\STD01000000.tmp"
{txt}
{com}. eststo clear
{txt}
{com}. eststo: xtnbreg government_visits L1.government_visits   c.protestL1##i.bipolityL1   lngdppc lngdp NaturalResources  urban_pop electricity   FDI_inflow tradeopenness chineseworkers_capita  bri_carryover  i.year   , fe
{txt}note: 1 group (1 obs) dropped because of only one obs per group
{res}
{txt}Iteration 0:{space 3}log likelihood = {res:-366.49836}  
Iteration 1:{space 3}log likelihood = {res:-354.99512}  
Iteration 2:{space 3}log likelihood = {res:-353.25739}  
Iteration 3:{space 3}log likelihood = {res:-353.08495}  
Iteration 4:{space 3}log likelihood = {res:-353.08218}  
Iteration 5:{space 3}log likelihood = {res:-353.08218}  
{res}
{txt}Conditional FE negative binomial regression{col 49}Number of obs{col 67}={col 69}{res}       164
{txt}Group variable: {res}cowcode{col 49}{txt}Number of groups{col 67}={col 69}{res}        18

{txt}{col 49}Obs per group:
{col 63}min{col 67}={col 69}{res}         2
{txt}{col 63}avg{col 67}={col 69}{res}       9.1
{txt}{col 63}max{col 67}={col 69}{res}        16

{txt}{col 49}Wald chi2({res}29{txt}){col 67}={col 70}{res}    75.57
{txt}Log likelihood  = {res}-353.08218{col 49}{txt}Prob > chi2{col 67}={res}{col 73}0.0000

{txt}{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}     government_visits{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      z{col 56}   P>|z|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 5}government_visits {c |}
{space 19}L1. {c |}{col 24}{res}{space 2} .0067134{col 36}{space 2} .0084963{col 47}{space 1}    0.79{col 56}{space 3}0.429{col 64}{space 4}-.0099391{col 77}{space 3} .0233658
{txt}{space 22} {c |}
{space 13}protestL1 {c |}{col 24}{res}{space 2} .0103806{col 36}{space 2} .0043763{col 47}{space 1}    2.37{col 56}{space 3}0.018{col 64}{space 4} .0018033{col 77}{space 3} .0189579
{txt}{space 10}1.bipolityL1 {c |}{col 24}{res}{space 2} .1922884{col 36}{space 2} .1204926{col 47}{space 1}    1.60{col 56}{space 3}0.111{col 64}{space 4}-.0438728{col 77}{space 3} .4284497
{txt}{space 22} {c |}
bipolityL1#c.protestL1 {c |}
{space 20}1  {c |}{col 24}{res}{space 2}-.0116179{col 36}{space 2} .0043729{col 47}{space 1}   -2.66{col 56}{space 3}0.008{col 64}{space 4}-.0201887{col 77}{space 3}-.0030471
{txt}{space 22} {c |}
{space 15}lngdppc {c |}{col 24}{res}{space 2}-.1327722{col 36}{space 2}  .402906{col 47}{space 1}   -0.33{col 56}{space 3}0.742{col 64}{space 4}-.9224534{col 77}{space 3} .6569091
{txt}{space 17}lngdp {c |}{col 24}{res}{space 2}-.2762888{col 36}{space 2}  .330471{col 47}{space 1}   -0.84{col 56}{space 3}0.403{col 64}{space 4}    -.924{col 77}{space 3} .3714224
{txt}{space 6}NaturalResources {c |}{col 24}{res}{space 2}  .003732{col 36}{space 2} .0167126{col 47}{space 1}    0.22{col 56}{space 3}0.823{col 64}{space 4}-.0290241{col 77}{space 3}  .036488
{txt}{space 13}urban_pop {c |}{col 24}{res}{space 2}-.0371321{col 36}{space 2} .0253021{col 47}{space 1}   -1.47{col 56}{space 3}0.142{col 64}{space 4}-.0867234{col 77}{space 3} .0124592
{txt}{space 11}electricity {c |}{col 24}{res}{space 2}  .000724{col 36}{space 2} .0059179{col 47}{space 1}    0.12{col 56}{space 3}0.903{col 64}{space 4}-.0108749{col 77}{space 3} .0123229
{txt}{space 12}FDI_inflow {c |}{col 24}{res}{space 2} .0000481{col 36}{space 2} .0104098{col 47}{space 1}    0.00{col 56}{space 3}0.996{col 64}{space 4}-.0203547{col 77}{space 3} .0204509
{txt}{space 9}tradeopenness {c |}{col 24}{res}{space 2} .0077719{col 36}{space 2} .0033386{col 47}{space 1}    2.33{col 56}{space 3}0.020{col 64}{space 4} .0012283{col 77}{space 3} .0143155
{txt}{space 1}chineseworkers_capita {c |}{col 24}{res}{space 2}-.0045262{col 36}{space 2} .0161545{col 47}{space 1}   -0.28{col 56}{space 3}0.779{col 64}{space 4}-.0361884{col 77}{space 3}  .027136
{txt}{space 9}bri_carryover {c |}{col 24}{res}{space 2} .0241329{col 36}{space 2}  .148268{col 47}{space 1}    0.16{col 56}{space 3}0.871{col 64}{space 4}-.2664671{col 77}{space 3} .3147328
{txt}{space 22} {c |}
{space 18}year {c |}
{space 17}2002  {c |}{col 24}{res}{space 2}-1.082988{col 36}{space 2}  .257917{col 47}{space 1}   -4.20{col 56}{space 3}0.000{col 64}{space 4}-1.588496{col 77}{space 3}  -.57748
{txt}{space 17}2003  {c |}{col 24}{res}{space 2}-.2514572{col 36}{space 2} .2795858{col 47}{space 1}   -0.90{col 56}{space 3}0.368{col 64}{space 4}-.7994353{col 77}{space 3} .2965208
{txt}{space 17}2004  {c |}{col 24}{res}{space 2}-.4104612{col 36}{space 2} .2765956{col 47}{space 1}   -1.48{col 56}{space 3}0.138{col 64}{space 4}-.9525787{col 77}{space 3} .1316562
{txt}{space 17}2005  {c |}{col 24}{res}{space 2}-.0586544{col 36}{space 2} .3426164{col 47}{space 1}   -0.17{col 56}{space 3}0.864{col 64}{space 4}-.7301703{col 77}{space 3} .6128615
{txt}{space 17}2006  {c |}{col 24}{res}{space 2}-.1102314{col 36}{space 2} .3029483{col 47}{space 1}   -0.36{col 56}{space 3}0.716{col 64}{space 4}-.7039991{col 77}{space 3} .4835363
{txt}{space 17}2007  {c |}{col 24}{res}{space 2}-.1070877{col 36}{space 2} .2797063{col 47}{space 1}   -0.38{col 56}{space 3}0.702{col 64}{space 4} -.655302{col 77}{space 3} .4411267
{txt}{space 17}2008  {c |}{col 24}{res}{space 2} .0330499{col 36}{space 2} .3147156{col 47}{space 1}    0.11{col 56}{space 3}0.916{col 64}{space 4}-.5837813{col 77}{space 3} .6498811
{txt}{space 17}2009  {c |}{col 24}{res}{space 2} .1581626{col 36}{space 2} .3269573{col 47}{space 1}    0.48{col 56}{space 3}0.629{col 64}{space 4}-.4826619{col 77}{space 3} .7989871
{txt}{space 17}2010  {c |}{col 24}{res}{space 2} .0517716{col 36}{space 2} .3472965{col 47}{space 1}    0.15{col 56}{space 3}0.881{col 64}{space 4} -.628917{col 77}{space 3} .7324602
{txt}{space 17}2011  {c |}{col 24}{res}{space 2}-.0942547{col 36}{space 2} .3903868{col 47}{space 1}   -0.24{col 56}{space 3}0.809{col 64}{space 4}-.8593989{col 77}{space 3} .6708894
{txt}{space 17}2012  {c |}{col 24}{res}{space 2} .0839276{col 36}{space 2} .4090956{col 47}{space 1}    0.21{col 56}{space 3}0.837{col 64}{space 4} -.717885{col 77}{space 3} .8857403
{txt}{space 17}2013  {c |}{col 24}{res}{space 2} .0847307{col 36}{space 2} .4450293{col 47}{space 1}    0.19{col 56}{space 3}0.849{col 64}{space 4}-.7875106{col 77}{space 3}  .956972
{txt}{space 17}2014  {c |}{col 24}{res}{space 2}   .16401{col 36}{space 2} .4570016{col 47}{space 1}    0.36{col 56}{space 3}0.720{col 64}{space 4}-.7316967{col 77}{space 3} 1.059717
{txt}{space 17}2015  {c |}{col 24}{res}{space 2} .0562886{col 36}{space 2} .4835534{col 47}{space 1}    0.12{col 56}{space 3}0.907{col 64}{space 4}-.8914586{col 77}{space 3} 1.004036
{txt}{space 17}2016  {c |}{col 24}{res}{space 2} .1591709{col 36}{space 2} .5044169{col 47}{space 1}    0.32{col 56}{space 3}0.752{col 64}{space 4}-.8294681{col 77}{space 3}  1.14781
{txt}{space 17}2017  {c |}{col 24}{res}{space 2}-.0089674{col 36}{space 2} .5614825{col 47}{space 1}   -0.02{col 56}{space 3}0.987{col 64}{space 4}-1.109453{col 77}{space 3} 1.091518
{txt}{space 22} {c |}
{space 17}_cons {c |}{col 24}{res}{space 2} 12.29367{col 36}{space 2}  6.91195{col 47}{space 1}    1.78{col 56}{space 3}0.075{col 64}{space 4}-1.253508{col 77}{space 3} 25.84084
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
({res}est1{txt} stored)

{com}. eststo: xtnbreg government_visits L1.government_visits   c.protestL1##i.fhscoreL1   lngdppc lngdp NaturalResources  urban_pop electricity   FDI_inflow tradeopenness chineseworkers_capita  bri_carryover  i.year   , fe
{txt}note: 4 groups (4 obs) dropped because of only one obs per group
{res}
{txt}Iteration 0:{space 3}log likelihood = {res:-365.29785}  
Iteration 1:{space 3}log likelihood = {res:-353.35398}  
Iteration 2:{space 3}log likelihood = {res:-351.41741}  
Iteration 3:{space 3}log likelihood = {res:-351.11978}  
Iteration 4:{space 3}log likelihood = {res:-351.11301}  
Iteration 5:{space 3}log likelihood = {res:  -351.113}  
{res}
{txt}Conditional FE negative binomial regression{col 49}Number of obs{col 67}={col 69}{res}       164
{txt}Group variable: {res}cowcode{col 49}{txt}Number of groups{col 67}={col 69}{res}        18

{txt}{col 49}Obs per group:
{col 63}min{col 67}={col 69}{res}         2
{txt}{col 63}avg{col 67}={col 69}{res}       9.1
{txt}{col 63}max{col 67}={col 69}{res}        16

{txt}{col 49}Wald chi2({res}31{txt}){col 67}={col 70}{res}    80.05
{txt}Log likelihood  = {res}  -351.113{col 49}{txt}Prob > chi2{col 67}={res}{col 73}0.0000

{txt}{hline 22}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}    government_visits{col 23}{c |}      Coef.{col 35}   Std. Err.{col 47}      z{col 55}   P>|z|{col 63}     [95% Con{col 76}f. Interval]
{hline 22}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 4}government_visits {c |}
{space 18}L1. {c |}{col 23}{res}{space 2} .0083204{col 35}{space 2} .0085664{col 46}{space 1}    0.97{col 55}{space 3}0.331{col 63}{space 4}-.0084695{col 76}{space 3} .0251103
{txt}{space 21} {c |}
{space 12}protestL1 {c |}{col 23}{res}{space 2} .0337852{col 35}{space 2} .0111079{col 46}{space 1}    3.04{col 55}{space 3}0.002{col 63}{space 4} .0120141{col 76}{space 3} .0555563
{txt}{space 21} {c |}
{space 12}fhscoreL1 {c |}
{space 19}1  {c |}{col 23}{res}{space 2} .2889475{col 35}{space 2}  .183106{col 46}{space 1}    1.58{col 55}{space 3}0.115{col 63}{space 4}-.0699337{col 76}{space 3} .6478287
{txt}{space 19}2  {c |}{col 23}{res}{space 2} .3158833{col 35}{space 2}  .248676{col 46}{space 1}    1.27{col 55}{space 3}0.204{col 63}{space 4}-.1715127{col 76}{space 3} .8032794
{txt}{space 21} {c |}
fhscoreL1#c.protestL1 {c |}
{space 19}1  {c |}{col 23}{res}{space 2} -.035163{col 35}{space 2} .0110426{col 46}{space 1}   -3.18{col 55}{space 3}0.001{col 63}{space 4}-.0568062{col 76}{space 3}-.0135199
{txt}{space 19}2  {c |}{col 23}{res}{space 2} -.033104{col 35}{space 2} .0109948{col 46}{space 1}   -3.01{col 55}{space 3}0.003{col 63}{space 4}-.0546534{col 76}{space 3}-.0115545
{txt}{space 21} {c |}
{space 14}lngdppc {c |}{col 23}{res}{space 2}-.0572078{col 35}{space 2} .4140557{col 46}{space 1}   -0.14{col 55}{space 3}0.890{col 63}{space 4}-.8687421{col 76}{space 3} .7543264
{txt}{space 16}lngdp {c |}{col 23}{res}{space 2}-.4397822{col 35}{space 2} .3603578{col 46}{space 1}   -1.22{col 55}{space 3}0.222{col 63}{space 4}-1.146071{col 76}{space 3} .2665062
{txt}{space 5}NaturalResources {c |}{col 23}{res}{space 2}-.0011294{col 35}{space 2}  .016978{col 46}{space 1}   -0.07{col 55}{space 3}0.947{col 63}{space 4}-.0344056{col 76}{space 3} .0321468
{txt}{space 12}urban_pop {c |}{col 23}{res}{space 2}-.0327376{col 35}{space 2} .0270826{col 46}{space 1}   -1.21{col 55}{space 3}0.227{col 63}{space 4}-.0858184{col 76}{space 3} .0203433
{txt}{space 10}electricity {c |}{col 23}{res}{space 2}-.0009001{col 35}{space 2} .0058437{col 46}{space 1}   -0.15{col 55}{space 3}0.878{col 63}{space 4}-.0123536{col 76}{space 3} .0105534
{txt}{space 11}FDI_inflow {c |}{col 23}{res}{space 2} .0004357{col 35}{space 2} .0102504{col 46}{space 1}    0.04{col 55}{space 3}0.966{col 63}{space 4}-.0196548{col 76}{space 3} .0205261
{txt}{space 8}tradeopenness {c |}{col 23}{res}{space 2} .0043084{col 35}{space 2} .0035589{col 46}{space 1}    1.21{col 55}{space 3}0.226{col 63}{space 4} -.002667{col 76}{space 3} .0112838
{txt}chineseworkers_capita {c |}{col 23}{res}{space 2} .0013462{col 35}{space 2} .0159249{col 46}{space 1}    0.08{col 55}{space 3}0.933{col 63}{space 4}-.0298661{col 76}{space 3} .0325585
{txt}{space 8}bri_carryover {c |}{col 23}{res}{space 2}-.0048562{col 35}{space 2}  .150622{col 46}{space 1}   -0.03{col 55}{space 3}0.974{col 63}{space 4}-.3000699{col 76}{space 3} .2903574
{txt}{space 21} {c |}
{space 17}year {c |}
{space 16}2002  {c |}{col 23}{res}{space 2}-1.114117{col 35}{space 2}  .265762{col 46}{space 1}   -4.19{col 55}{space 3}0.000{col 63}{space 4}-1.635001{col 76}{space 3}-.5932329
{txt}{space 16}2003  {c |}{col 23}{res}{space 2}-.2507318{col 35}{space 2}  .290734{col 46}{space 1}   -0.86{col 55}{space 3}0.388{col 63}{space 4}  -.82056{col 76}{space 3} .3190965
{txt}{space 16}2004  {c |}{col 23}{res}{space 2}-.3867937{col 35}{space 2} .2864607{col 46}{space 1}   -1.35{col 55}{space 3}0.177{col 63}{space 4}-.9482464{col 76}{space 3} .1746589
{txt}{space 16}2005  {c |}{col 23}{res}{space 2} .0509857{col 35}{space 2} .3479849{col 46}{space 1}    0.15{col 55}{space 3}0.884{col 63}{space 4}-.6310521{col 76}{space 3} .7330235
{txt}{space 16}2006  {c |}{col 23}{res}{space 2} -.092515{col 35}{space 2} .3102838{col 46}{space 1}   -0.30{col 55}{space 3}0.766{col 63}{space 4}-.7006601{col 76}{space 3}   .51563
{txt}{space 16}2007  {c |}{col 23}{res}{space 2}-.0359201{col 35}{space 2} .2894793{col 46}{space 1}   -0.12{col 55}{space 3}0.901{col 63}{space 4}-.6032891{col 76}{space 3} .5314489
{txt}{space 16}2008  {c |}{col 23}{res}{space 2} .0675847{col 35}{space 2} .3303947{col 46}{space 1}    0.20{col 55}{space 3}0.838{col 63}{space 4} -.579977{col 76}{space 3} .7151464
{txt}{space 16}2009  {c |}{col 23}{res}{space 2} .1765145{col 35}{space 2} .3447542{col 46}{space 1}    0.51{col 55}{space 3}0.609{col 63}{space 4}-.4991913{col 76}{space 3} .8522203
{txt}{space 16}2010  {c |}{col 23}{res}{space 2} .0793636{col 35}{space 2} .3649606{col 46}{space 1}    0.22{col 55}{space 3}0.828{col 63}{space 4}-.6359461{col 76}{space 3} .7946733
{txt}{space 16}2011  {c |}{col 23}{res}{space 2}-.0242276{col 35}{space 2} .4079499{col 46}{space 1}   -0.06{col 55}{space 3}0.953{col 63}{space 4}-.8237947{col 76}{space 3} .7753395
{txt}{space 16}2012  {c |}{col 23}{res}{space 2} .1758456{col 35}{space 2}  .428539{col 46}{space 1}    0.41{col 55}{space 3}0.682{col 63}{space 4}-.6640754{col 76}{space 3} 1.015767
{txt}{space 16}2013  {c |}{col 23}{res}{space 2} .1550473{col 35}{space 2} .4689314{col 46}{space 1}    0.33{col 55}{space 3}0.741{col 63}{space 4}-.7640413{col 76}{space 3} 1.074136
{txt}{space 16}2014  {c |}{col 23}{res}{space 2} .2454133{col 35}{space 2}   .47973{col 46}{space 1}    0.51{col 55}{space 3}0.609{col 63}{space 4}-.6948403{col 76}{space 3} 1.185667
{txt}{space 16}2015  {c |}{col 23}{res}{space 2} .0930852{col 35}{space 2} .5138226{col 46}{space 1}    0.18{col 55}{space 3}0.856{col 63}{space 4}-.9139886{col 76}{space 3} 1.100159
{txt}{space 16}2016  {c |}{col 23}{res}{space 2} .2305939{col 35}{space 2} .5316575{col 46}{space 1}    0.43{col 55}{space 3}0.664{col 63}{space 4}-.8114358{col 76}{space 3} 1.272623
{txt}{space 16}2017  {c |}{col 23}{res}{space 2} .0256746{col 35}{space 2} .5903218{col 46}{space 1}    0.04{col 55}{space 3}0.965{col 63}{space 4}-1.131335{col 76}{space 3} 1.182684
{txt}{space 21} {c |}
{space 16}_cons {c |}{col 23}{res}{space 2} 16.10455{col 35}{space 2} 7.577207{col 46}{space 1}    2.13{col 55}{space 3}0.034{col 63}{space 4}   1.2535{col 76}{space 3} 30.95561
{txt}{hline 22}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
({res}est2{txt} stored)

{com}. eststo: xtnbreg government_visits L1.government_visits   c.protestL1##c.v2x_polyarchy_L1  lngdppc lngdp NaturalResources  urban_pop electricity   FDI_inflow tradeopenness chineseworkers_capita  bri_carryover  i.year   , fe
{txt}note: 2 groups (2 obs) dropped because of only one obs per group
{res}
{txt}Iteration 0:{space 3}log likelihood = {res:-368.00575}  
Iteration 1:{space 3}log likelihood = {res:-357.45954}  
Iteration 2:{space 3}log likelihood = {res:-356.10641}  
Iteration 3:{space 3}log likelihood = {res:-355.98854}  
Iteration 4:{space 3}log likelihood = {res:-355.98728}  
Iteration 5:{space 3}log likelihood = {res:-355.98728}  
{res}
{txt}Conditional FE negative binomial regression{col 49}Number of obs{col 67}={col 69}{res}       164
{txt}Group variable: {res}cowcode{col 49}{txt}Number of groups{col 67}={col 69}{res}        18

{txt}{col 49}Obs per group:
{col 63}min{col 67}={col 69}{res}         2
{txt}{col 63}avg{col 67}={col 69}{res}       9.1
{txt}{col 63}max{col 67}={col 69}{res}        16

{txt}{col 49}Wald chi2({res}29{txt}){col 67}={col 70}{res}    66.22
{txt}Log likelihood  = {res}-355.98728{col 49}{txt}Prob > chi2{col 67}={res}{col 73}0.0001

{txt}{hline 31}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}             government_visits{col 32}{c |}      Coef.{col 44}   Std. Err.{col 56}      z{col 64}   P>|z|{col 72}     [95% Con{col 85}f. Interval]
{hline 31}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 13}government_visits {c |}
{space 27}L1. {c |}{col 32}{res}{space 2}  .008818{col 44}{space 2} .0088668{col 55}{space 1}    0.99{col 64}{space 3}0.320{col 72}{space 4}-.0085606{col 85}{space 3} .0261967
{txt}{space 30} {c |}
{space 21}protestL1 {c |}{col 32}{res}{space 2}  .002437{col 44}{space 2} .0049218{col 55}{space 1}    0.50{col 64}{space 3}0.620{col 72}{space 4}-.0072095{col 85}{space 3} .0120834
{txt}{space 14}v2x_polyarchy_L1 {c |}{col 32}{res}{space 2}-.1354231{col 44}{space 2}  .447471{col 55}{space 1}   -0.30{col 64}{space 3}0.762{col 72}{space 4} -1.01245{col 85}{space 3}  .741604
{txt}{space 30} {c |}
c.protestL1#c.v2x_polyarchy_L1 {c |}{col 32}{res}{space 2}-.0063253{col 44}{space 2} .0089688{col 55}{space 1}   -0.71{col 64}{space 3}0.481{col 72}{space 4}-.0239039{col 85}{space 3} .0112533
{txt}{space 30} {c |}
{space 23}lngdppc {c |}{col 32}{res}{space 2} -.267727{col 44}{space 2} .3764993{col 55}{space 1}   -0.71{col 64}{space 3}0.477{col 72}{space 4}-1.005652{col 85}{space 3}  .470198
{txt}{space 25}lngdp {c |}{col 32}{res}{space 2}-.2398858{col 44}{space 2} .2922317{col 55}{space 1}   -0.82{col 64}{space 3}0.412{col 72}{space 4}-.8126494{col 85}{space 3} .3328778
{txt}{space 14}NaturalResources {c |}{col 32}{res}{space 2} .0084298{col 44}{space 2} .0168279{col 55}{space 1}    0.50{col 64}{space 3}0.616{col 72}{space 4}-.0245523{col 85}{space 3} .0414119
{txt}{space 21}urban_pop {c |}{col 32}{res}{space 2}-.0290711{col 44}{space 2} .0261522{col 55}{space 1}   -1.11{col 64}{space 3}0.266{col 72}{space 4}-.0803284{col 85}{space 3} .0221862
{txt}{space 19}electricity {c |}{col 32}{res}{space 2} .0000954{col 44}{space 2} .0060458{col 55}{space 1}    0.02{col 64}{space 3}0.987{col 72}{space 4}-.0117541{col 85}{space 3} .0119449
{txt}{space 20}FDI_inflow {c |}{col 32}{res}{space 2} .0004623{col 44}{space 2} .0105727{col 55}{space 1}    0.04{col 64}{space 3}0.965{col 72}{space 4}-.0202598{col 85}{space 3} .0211845
{txt}{space 17}tradeopenness {c |}{col 32}{res}{space 2}  .006733{col 44}{space 2} .0033615{col 55}{space 1}    2.00{col 64}{space 3}0.045{col 72}{space 4} .0001446{col 85}{space 3} .0133213
{txt}{space 9}chineseworkers_capita {c |}{col 32}{res}{space 2}-.0039632{col 44}{space 2} .0164922{col 55}{space 1}   -0.24{col 64}{space 3}0.810{col 72}{space 4}-.0362873{col 85}{space 3}  .028361
{txt}{space 17}bri_carryover {c |}{col 32}{res}{space 2} .0324597{col 44}{space 2} .1495745{col 55}{space 1}    0.22{col 64}{space 3}0.828{col 72}{space 4}-.2607008{col 85}{space 3} .3256203
{txt}{space 30} {c |}
{space 26}year {c |}
{space 25}2002  {c |}{col 32}{res}{space 2}-1.092426{col 44}{space 2} .2671905{col 55}{space 1}   -4.09{col 64}{space 3}0.000{col 72}{space 4} -1.61611{col 85}{space 3}-.5687425
{txt}{space 25}2003  {c |}{col 32}{res}{space 2} -.250518{col 44}{space 2} .2907347{col 55}{space 1}   -0.86{col 64}{space 3}0.389{col 72}{space 4}-.8203476{col 85}{space 3} .3193116
{txt}{space 25}2004  {c |}{col 32}{res}{space 2} -.355326{col 44}{space 2} .2843007{col 55}{space 1}   -1.25{col 64}{space 3}0.211{col 72}{space 4}-.9125451{col 85}{space 3}  .201893
{txt}{space 25}2005  {c |}{col 32}{res}{space 2}-.0339109{col 44}{space 2} .3500656{col 55}{space 1}   -0.10{col 64}{space 3}0.923{col 72}{space 4}-.7200268{col 85}{space 3}  .652205
{txt}{space 25}2006  {c |}{col 32}{res}{space 2} -.091538{col 44}{space 2} .3073483{col 55}{space 1}   -0.30{col 64}{space 3}0.766{col 72}{space 4}-.6939296{col 85}{space 3} .5108537
{txt}{space 25}2007  {c |}{col 32}{res}{space 2}-.0670555{col 44}{space 2} .2872793{col 55}{space 1}   -0.23{col 64}{space 3}0.815{col 72}{space 4}-.6301125{col 85}{space 3} .4960016
{txt}{space 25}2008  {c |}{col 32}{res}{space 2} .0861079{col 44}{space 2} .3221173{col 55}{space 1}    0.27{col 64}{space 3}0.789{col 72}{space 4}-.5452304{col 85}{space 3} .7174462
{txt}{space 25}2009  {c |}{col 32}{res}{space 2} .2351852{col 44}{space 2} .3283485{col 55}{space 1}    0.72{col 64}{space 3}0.474{col 72}{space 4} -.408366{col 85}{space 3} .8787364
{txt}{space 25}2010  {c |}{col 32}{res}{space 2} .1583435{col 44}{space 2} .3467628{col 55}{space 1}    0.46{col 64}{space 3}0.648{col 72}{space 4} -.521299{col 85}{space 3} .8379861
{txt}{space 25}2011  {c |}{col 32}{res}{space 2} .0017475{col 44}{space 2}  .389418{col 55}{space 1}    0.00{col 64}{space 3}0.996{col 72}{space 4}-.7614977{col 85}{space 3} .7649927
{txt}{space 25}2012  {c |}{col 32}{res}{space 2} .2036781{col 44}{space 2} .4060774{col 55}{space 1}    0.50{col 64}{space 3}0.616{col 72}{space 4}-.5922191{col 85}{space 3} .9995752
{txt}{space 25}2013  {c |}{col 32}{res}{space 2} .2259397{col 44}{space 2} .4410956{col 55}{space 1}    0.51{col 64}{space 3}0.608{col 72}{space 4}-.6385918{col 85}{space 3} 1.090471
{txt}{space 25}2014  {c |}{col 32}{res}{space 2} .3061136{col 44}{space 2} .4513888{col 55}{space 1}    0.68{col 64}{space 3}0.498{col 72}{space 4}-.5785921{col 85}{space 3} 1.190819
{txt}{space 25}2015  {c |}{col 32}{res}{space 2} .2704036{col 44}{space 2} .4752693{col 55}{space 1}    0.57{col 64}{space 3}0.569{col 72}{space 4} -.661107{col 85}{space 3} 1.201914
{txt}{space 25}2016  {c |}{col 32}{res}{space 2} .3187638{col 44}{space 2} .4997197{col 55}{space 1}    0.64{col 64}{space 3}0.524{col 72}{space 4}-.6606689{col 85}{space 3} 1.298196
{txt}{space 25}2017  {c |}{col 32}{res}{space 2} .1484957{col 44}{space 2} .5564672{col 55}{space 1}    0.27{col 64}{space 3}0.790{col 72}{space 4}-.9421599{col 85}{space 3} 1.239151
{txt}{space 30} {c |}
{space 25}_cons {c |}{col 32}{res}{space 2} 11.99619{col 44}{space 2} 6.242738{col 55}{space 1}    1.92{col 64}{space 3}0.055{col 72}{space 4}-.2393559{col 85}{space 3} 24.23173
{txt}{hline 31}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
({res}est3{txt} stored)

{com}. eststo: xtreg OFa_all_pop_ln  L1.OFa_all_pop_ln   c.protestL1##i.bipolityL1  lngdppc lngdp NaturalResources  urban_pop electricity   FDI_inflow tradeopenness chineseworkers_capita  bri_carryover  i.year   , fe
{res}
{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}       153
{txt}Group variable: {res}cowcode{txt}{col 49}Number of groups{col 67}={col 69}{res}        18

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.4024{col 63}{txt}min{col 67}={col 69}{res}         3
{txt}     between = {res}0.3685{col 63}{txt}avg{col 67}={col 69}{res}       8.5
{txt}     overall = {res}0.1652{col 63}{txt}max{col 67}={col 69}{res}        13

{txt}{col 49}F({res}29{txt},{res}106{txt}){col 67}={col 70}{res}     2.46
{txt}corr(u_i, Xb){col 16}= {res}-0.9933{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0005

{txt}{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}        OFa_all_pop_ln{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      t{col 56}   P>|t|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 8}OFa_all_pop_ln {c |}
{space 19}L1. {c |}{col 24}{res}{space 2}-.1322455{col 36}{space 2} .0950196{col 47}{space 1}   -1.39{col 56}{space 3}0.167{col 64}{space 4}-.3206311{col 77}{space 3} .0561401
{txt}{space 22} {c |}
{space 13}protestL1 {c |}{col 24}{res}{space 2} .0295443{col 36}{space 2} .0091817{col 47}{space 1}    3.22{col 56}{space 3}0.002{col 64}{space 4} .0113406{col 77}{space 3} .0477481
{txt}{space 10}1.bipolityL1 {c |}{col 24}{res}{space 2} .5411418{col 36}{space 2} .3629188{col 47}{space 1}    1.49{col 56}{space 3}0.139{col 64}{space 4}-.1783801{col 77}{space 3} 1.260664
{txt}{space 22} {c |}
bipolityL1#c.protestL1 {c |}
{space 20}1  {c |}{col 24}{res}{space 2} -.035986{col 36}{space 2} .0093052{col 47}{space 1}   -3.87{col 56}{space 3}0.000{col 64}{space 4}-.0544345{col 77}{space 3}-.0175375
{txt}{space 22} {c |}
{space 15}lngdppc {c |}{col 24}{res}{space 2}-3.572776{col 36}{space 2} 6.204307{col 47}{space 1}   -0.58{col 56}{space 3}0.566{col 64}{space 4}-15.87342{col 77}{space 3} 8.727866
{txt}{space 17}lngdp {c |}{col 24}{res}{space 2} 6.309528{col 36}{space 2} 6.099319{col 47}{space 1}    1.03{col 56}{space 3}0.303{col 64}{space 4}-5.782965{col 77}{space 3} 18.40202
{txt}{space 6}NaturalResources {c |}{col 24}{res}{space 2}-.0959319{col 36}{space 2} .0412027{col 47}{space 1}   -2.33{col 56}{space 3}0.022{col 64}{space 4}-.1776202{col 77}{space 3}-.0142435
{txt}{space 13}urban_pop {c |}{col 24}{res}{space 2} .1498038{col 36}{space 2} .1051411{col 47}{space 1}    1.42{col 56}{space 3}0.157{col 64}{space 4}-.0586487{col 77}{space 3} .3582562
{txt}{space 11}electricity {c |}{col 24}{res}{space 2}-.0346535{col 36}{space 2} .0180579{col 47}{space 1}   -1.92{col 56}{space 3}0.058{col 64}{space 4} -.070455{col 77}{space 3}  .001148
{txt}{space 12}FDI_inflow {c |}{col 24}{res}{space 2}-.0050749{col 36}{space 2}  .021402{col 47}{space 1}   -0.24{col 56}{space 3}0.813{col 64}{space 4}-.0475065{col 77}{space 3} .0373566
{txt}{space 9}tradeopenness {c |}{col 24}{res}{space 2}  .025035{col 36}{space 2} .0118858{col 47}{space 1}    2.11{col 56}{space 3}0.038{col 64}{space 4} .0014703{col 77}{space 3} .0485997
{txt}{space 1}chineseworkers_capita {c |}{col 24}{res}{space 2} .0894758{col 36}{space 2} .0390929{col 47}{space 1}    2.29{col 56}{space 3}0.024{col 64}{space 4} .0119704{col 77}{space 3} .1669812
{txt}{space 9}bri_carryover {c |}{col 24}{res}{space 2} .1202936{col 36}{space 2} .4009278{col 47}{space 1}    0.30{col 56}{space 3}0.765{col 64}{space 4}-.6745847{col 77}{space 3} .9151719
{txt}{space 22} {c |}
{space 18}year {c |}
{space 17}2002  {c |}{col 24}{res}{space 2} .6261626{col 36}{space 2} 1.223845{col 47}{space 1}    0.51{col 56}{space 3}0.610{col 64}{space 4}-1.800229{col 77}{space 3} 3.052554
{txt}{space 17}2003  {c |}{col 24}{res}{space 2} .9179808{col 36}{space 2} 1.131413{col 47}{space 1}    0.81{col 56}{space 3}0.419{col 64}{space 4}-1.325156{col 77}{space 3} 3.161117
{txt}{space 17}2004  {c |}{col 24}{res}{space 2} 1.230462{col 36}{space 2} 1.341848{col 47}{space 1}    0.92{col 56}{space 3}0.361{col 64}{space 4}-1.429883{col 77}{space 3} 3.890807
{txt}{space 17}2005  {c |}{col 24}{res}{space 2}  .434437{col 36}{space 2} 1.407537{col 47}{space 1}    0.31{col 56}{space 3}0.758{col 64}{space 4}-2.356141{col 77}{space 3} 3.225015
{txt}{space 17}2006  {c |}{col 24}{res}{space 2} .3130443{col 36}{space 2} 1.234585{col 47}{space 1}    0.25{col 56}{space 3}0.800{col 64}{space 4}-2.134641{col 77}{space 3}  2.76073
{txt}{space 17}2007  {c |}{col 24}{res}{space 2}-1.411921{col 36}{space 2} 1.084952{col 47}{space 1}   -1.30{col 56}{space 3}0.196{col 64}{space 4}-3.562944{col 77}{space 3}  .739102
{txt}{space 17}2008  {c |}{col 24}{res}{space 2}-1.697744{col 36}{space 2} 1.236324{col 47}{space 1}   -1.37{col 56}{space 3}0.173{col 64}{space 4}-4.148877{col 77}{space 3} .7533893
{txt}{space 17}2009  {c |}{col 24}{res}{space 2}-.0278481{col 36}{space 2} 1.257983{col 47}{space 1}   -0.02{col 56}{space 3}0.982{col 64}{space 4}-2.521922{col 77}{space 3} 2.466226
{txt}{space 17}2010  {c |}{col 24}{res}{space 2}-.8814773{col 36}{space 2} 1.330503{col 47}{space 1}   -0.66{col 56}{space 3}0.509{col 64}{space 4}-3.519328{col 77}{space 3} 1.756373
{txt}{space 17}2011  {c |}{col 24}{res}{space 2}-1.474685{col 36}{space 2} 1.495439{col 47}{space 1}   -0.99{col 56}{space 3}0.326{col 64}{space 4}-4.439537{col 77}{space 3} 1.490168
{txt}{space 17}2012  {c |}{col 24}{res}{space 2}-1.314228{col 36}{space 2} 1.561994{col 47}{space 1}   -0.84{col 56}{space 3}0.402{col 64}{space 4}-4.411034{col 77}{space 3} 1.782577
{txt}{space 17}2013  {c |}{col 24}{res}{space 2}-1.720136{col 36}{space 2}   1.6408{col 47}{space 1}   -1.05{col 56}{space 3}0.297{col 64}{space 4}-4.973182{col 77}{space 3}  1.53291
{txt}{space 17}2014  {c |}{col 24}{res}{space 2}-2.523816{col 36}{space 2} 1.733765{col 47}{space 1}   -1.46{col 56}{space 3}0.148{col 64}{space 4}-5.961173{col 77}{space 3} .9135414
{txt}{space 17}2015  {c |}{col 24}{res}{space 2}-2.357552{col 36}{space 2} 1.817963{col 47}{space 1}   -1.30{col 56}{space 3}0.198{col 64}{space 4} -5.96184{col 77}{space 3} 1.246737
{txt}{space 17}2016  {c |}{col 24}{res}{space 2}-2.178729{col 36}{space 2} 1.894805{col 47}{space 1}   -1.15{col 56}{space 3}0.253{col 64}{space 4}-5.935365{col 77}{space 3} 1.577906
{txt}{space 17}2017  {c |}{col 24}{res}{space 2}-1.999986{col 36}{space 2}  1.98673{col 47}{space 1}   -1.01{col 56}{space 3}0.316{col 64}{space 4}-5.938872{col 77}{space 3}   1.9389
{txt}{space 22} {c |}
{space 17}_cons {c |}{col 24}{res}{space 2}-131.2381{col 36}{space 2}  106.718{col 47}{space 1}   -1.23{col 56}{space 3}0.222{col 64}{space 4}-342.8169{col 77}{space 3} 80.34069
{txt}{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
               sigma_u {c |} {res} 11.711893
               {txt}sigma_e {c |} {res} 1.0132621
                   {txt}rho {c |} {res} .99257065{txt}   (fraction of variance due to u_i)
{hline 23}{c BT}{hline 64}
F test that all u_i=0: F({res}17{txt}, {res}106{txt}) = {res}4.51{col 62}{txt}Prob > F = {res}0.0000
{txt}({res}est4{txt} stored)

{com}. eststo: xtreg OFa_all_pop_ln  L1.OFa_all_pop_ln   c.protestL1##i.fhscoreL1  lngdppc lngdp NaturalResources  urban_pop electricity   FDI_inflow tradeopenness chineseworkers_capita  bri_carryover  i.year   , fe
{res}
{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}       156
{txt}Group variable: {res}cowcode{txt}{col 49}Number of groups{col 67}={col 69}{res}        21

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.3899{col 63}{txt}min{col 67}={col 69}{res}         1
{txt}     between = {res}0.0012{col 63}{txt}avg{col 67}={col 69}{res}       7.4
{txt}     overall = {res}0.0137{col 63}{txt}max{col 67}={col 69}{res}        13

{txt}{col 49}F({res}31{txt},{res}104{txt}){col 67}={col 70}{res}     2.14
{txt}corr(u_i, Xb){col 16}= {res}-0.9522{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0023

{txt}{hline 22}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}       OFa_all_pop_ln{col 23}{c |}      Coef.{col 35}   Std. Err.{col 47}      t{col 55}   P>|t|{col 63}     [95% Con{col 76}f. Interval]
{hline 22}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}OFa_all_pop_ln {c |}
{space 18}L1. {c |}{col 23}{res}{space 2}-.0770763{col 35}{space 2} .0960307{col 46}{space 1}   -0.80{col 55}{space 3}0.424{col 63}{space 4}-.2675088{col 76}{space 3} .1133562
{txt}{space 21} {c |}
{space 12}protestL1 {c |}{col 23}{res}{space 2} .0242764{col 35}{space 2} .0301589{col 46}{space 1}    0.80{col 55}{space 3}0.423{col 63}{space 4}-.0355298{col 76}{space 3} .0840825
{txt}{space 21} {c |}
{space 12}fhscoreL1 {c |}
{space 19}1  {c |}{col 23}{res}{space 2} 1.778427{col 35}{space 2} .5931199{col 46}{space 1}    3.00{col 55}{space 3}0.003{col 63}{space 4}  .602248{col 76}{space 3} 2.954606
{txt}{space 19}2  {c |}{col 23}{res}{space 2} 1.164262{col 35}{space 2} .9129049{col 46}{space 1}    1.28{col 55}{space 3}0.205{col 63}{space 4}-.6460625{col 76}{space 3} 2.974587
{txt}{space 21} {c |}
fhscoreL1#c.protestL1 {c |}
{space 19}1  {c |}{col 23}{res}{space 2} -.027203{col 35}{space 2} .0299531{col 46}{space 1}   -0.91{col 55}{space 3}0.366{col 63}{space 4}-.0866011{col 76}{space 3} .0321951
{txt}{space 19}2  {c |}{col 23}{res}{space 2}-.0332186{col 35}{space 2} .0310054{col 46}{space 1}   -1.07{col 55}{space 3}0.286{col 63}{space 4}-.0947036{col 76}{space 3} .0282663
{txt}{space 21} {c |}
{space 14}lngdppc {c |}{col 23}{res}{space 2} 2.108852{col 35}{space 2} 6.461955{col 46}{space 1}    0.33{col 55}{space 3}0.745{col 63}{space 4}-10.70545{col 76}{space 3} 14.92315
{txt}{space 16}lngdp {c |}{col 23}{res}{space 2} .2815702{col 35}{space 2}   6.3492{col 46}{space 1}    0.04{col 55}{space 3}0.965{col 63}{space 4}-12.30913{col 76}{space 3} 12.87227
{txt}{space 5}NaturalResources {c |}{col 23}{res}{space 2}-.0830537{col 35}{space 2} .0424359{col 46}{space 1}   -1.96{col 55}{space 3}0.053{col 63}{space 4}-.1672058{col 76}{space 3} .0010984
{txt}{space 12}urban_pop {c |}{col 23}{res}{space 2} .2425235{col 35}{space 2} .1093766{col 46}{space 1}    2.22{col 55}{space 3}0.029{col 63}{space 4} .0256257{col 76}{space 3} .4594214
{txt}{space 10}electricity {c |}{col 23}{res}{space 2}-.0373422{col 35}{space 2} .0193172{col 46}{space 1}   -1.93{col 55}{space 3}0.056{col 63}{space 4}-.0756489{col 76}{space 3} .0009645
{txt}{space 11}FDI_inflow {c |}{col 23}{res}{space 2}-.0036393{col 35}{space 2} .0219535{col 46}{space 1}   -0.17{col 55}{space 3}0.869{col 63}{space 4}-.0471739{col 76}{space 3} .0398953
{txt}{space 8}tradeopenness {c |}{col 23}{res}{space 2} .0123525{col 35}{space 2} .0127622{col 46}{space 1}    0.97{col 55}{space 3}0.335{col 63}{space 4}-.0129554{col 76}{space 3} .0376604
{txt}chineseworkers_capita {c |}{col 23}{res}{space 2} .0874812{col 35}{space 2} .0401053{col 46}{space 1}    2.18{col 55}{space 3}0.031{col 63}{space 4}  .007951{col 76}{space 3} .1670115
{txt}{space 8}bri_carryover {c |}{col 23}{res}{space 2} .2112096{col 35}{space 2} .4118073{col 46}{space 1}    0.51{col 55}{space 3}0.609{col 63}{space 4}-.6054197{col 76}{space 3} 1.027839
{txt}{space 21} {c |}
{space 17}year {c |}
{space 16}2002  {c |}{col 23}{res}{space 2} .2708158{col 35}{space 2} 1.265657{col 46}{space 1}    0.21{col 55}{space 3}0.831{col 63}{space 4}-2.239029{col 76}{space 3} 2.780661
{txt}{space 16}2003  {c |}{col 23}{res}{space 2} 1.427017{col 35}{space 2} 1.318316{col 46}{space 1}    1.08{col 55}{space 3}0.282{col 63}{space 4}-1.187252{col 76}{space 3} 4.041286
{txt}{space 16}2004  {c |}{col 23}{res}{space 2} 2.128692{col 35}{space 2} 1.405672{col 46}{space 1}    1.51{col 55}{space 3}0.133{col 63}{space 4}-.6588075{col 76}{space 3} 4.916191
{txt}{space 16}2005  {c |}{col 23}{res}{space 2} 1.491937{col 35}{space 2} 1.570997{col 46}{space 1}    0.95{col 55}{space 3}0.344{col 63}{space 4} -1.62341{col 76}{space 3} 4.607283
{txt}{space 16}2006  {c |}{col 23}{res}{space 2} 1.075912{col 35}{space 2} 1.346619{col 46}{space 1}    0.80{col 55}{space 3}0.426{col 63}{space 4}-1.594485{col 76}{space 3} 3.746308
{txt}{space 16}2007  {c |}{col 23}{res}{space 2}-.8514543{col 35}{space 2}  1.19347{col 46}{space 1}   -0.71{col 55}{space 3}0.477{col 63}{space 4}-3.218151{col 76}{space 3} 1.515242
{txt}{space 16}2008  {c |}{col 23}{res}{space 2}-1.024877{col 35}{space 2} 1.354295{col 46}{space 1}   -0.76{col 55}{space 3}0.451{col 63}{space 4}-3.710494{col 76}{space 3} 1.660741
{txt}{space 16}2009  {c |}{col 23}{res}{space 2} .3490982{col 35}{space 2} 1.339613{col 46}{space 1}    0.26{col 55}{space 3}0.795{col 63}{space 4}-2.307405{col 76}{space 3} 3.005602
{txt}{space 16}2010  {c |}{col 23}{res}{space 2}-.2559845{col 35}{space 2} 1.420793{col 46}{space 1}   -0.18{col 55}{space 3}0.857{col 63}{space 4}-3.073471{col 76}{space 3} 2.561502
{txt}{space 16}2011  {c |}{col 23}{res}{space 2} -.873248{col 35}{space 2} 1.583844{col 46}{space 1}   -0.55{col 55}{space 3}0.583{col 63}{space 4} -4.01407{col 76}{space 3} 2.267574
{txt}{space 16}2012  {c |}{col 23}{res}{space 2}-.5561908{col 35}{space 2}   1.6575{col 46}{space 1}   -0.34{col 55}{space 3}0.738{col 63}{space 4}-3.843076{col 76}{space 3} 2.730694
{txt}{space 16}2013  {c |}{col 23}{res}{space 2}-1.042807{col 35}{space 2} 1.739523{col 46}{space 1}   -0.60{col 55}{space 3}0.550{col 63}{space 4}-4.492346{col 76}{space 3} 2.406732
{txt}{space 16}2014  {c |}{col 23}{res}{space 2}-1.838492{col 35}{space 2}  1.85063{col 46}{space 1}   -0.99{col 55}{space 3}0.323{col 63}{space 4}-5.508361{col 76}{space 3} 1.831377
{txt}{space 16}2015  {c |}{col 23}{res}{space 2}-1.453447{col 35}{space 2} 1.930473{col 46}{space 1}   -0.75{col 55}{space 3}0.453{col 63}{space 4}-5.281647{col 76}{space 3} 2.374752
{txt}{space 16}2016  {c |}{col 23}{res}{space 2}-1.088759{col 35}{space 2} 2.005772{col 46}{space 1}   -0.54{col 55}{space 3}0.588{col 63}{space 4} -5.06628{col 76}{space 3} 2.888762
{txt}{space 16}2017  {c |}{col 23}{res}{space 2}-1.239904{col 35}{space 2} 2.094051{col 46}{space 1}   -0.59{col 55}{space 3}0.555{col 63}{space 4}-5.392486{col 76}{space 3} 2.912678
{txt}{space 21} {c |}
{space 16}_cons {c |}{col 23}{res}{space 2}-27.46612{col 35}{space 2} 110.2636{col 46}{space 1}   -0.25{col 55}{space 3}0.804{col 63}{space 4} -246.123{col 76}{space 3} 191.1907
{txt}{hline 22}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
              sigma_u {c |} {res} 5.5287302
              {txt}sigma_e {c |} {res} 1.0336845
                  {txt}rho {c |} {res} .96622439{txt}   (fraction of variance due to u_i)
{hline 22}{c BT}{hline 64}
F test that all u_i=0: F({res}20{txt}, {res}104{txt}) = {res}4.25{col 62}{txt}Prob > F = {res}0.0000
{txt}({res}est5{txt} stored)

{com}. eststo: xtreg OFa_all_pop_ln  L1.OFa_all_pop_ln   c.protestL1##c.v2x_polyarchy_L1  lngdppc lngdp NaturalResources  urban_pop electricity   FDI_inflow tradeopenness chineseworkers_capita  bri_carryover  i.year   , fe
{res}
{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}       154
{txt}Group variable: {res}cowcode{txt}{col 49}Number of groups{col 67}={col 69}{res}        19

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.3617{col 63}{txt}min{col 67}={col 69}{res}         1
{txt}     between = {res}0.4820{col 63}{txt}avg{col 67}={col 69}{res}       8.1
{txt}     overall = {res}0.1901{col 63}{txt}max{col 67}={col 69}{res}        13

{txt}{col 49}F({res}29{txt},{res}106{txt}){col 67}={col 70}{res}     2.07
{txt}corr(u_i, Xb){col 16}= {res}-0.9949{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0039

{txt}{hline 31}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}                OFa_all_pop_ln{col 32}{c |}      Coef.{col 44}   Std. Err.{col 56}      t{col 64}   P>|t|{col 72}     [95% Con{col 85}f. Interval]
{hline 31}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 16}OFa_all_pop_ln {c |}
{space 27}L1. {c |}{col 32}{res}{space 2}-.0878535{col 44}{space 2} .0971827{col 55}{space 1}   -0.90{col 64}{space 3}0.368{col 72}{space 4}-.2805276{col 85}{space 3} .1048207
{txt}{space 30} {c |}
{space 21}protestL1 {c |}{col 32}{res}{space 2} .0255395{col 44}{space 2} .0128132{col 55}{space 1}    1.99{col 64}{space 3}0.049{col 72}{space 4}  .000136{col 85}{space 3} .0509429
{txt}{space 14}v2x_polyarchy_L1 {c |}{col 32}{res}{space 2} 2.337206{col 44}{space 2} 1.407624{col 55}{space 1}    1.66{col 64}{space 3}0.100{col 72}{space 4}-.4535453{col 85}{space 3} 5.127957
{txt}{space 30} {c |}
c.protestL1#c.v2x_polyarchy_L1 {c |}{col 32}{res}{space 2}-.0575123{col 44}{space 2} .0240719{col 55}{space 1}   -2.39{col 64}{space 3}0.019{col 72}{space 4}-.1052372{col 85}{space 3}-.0097873
{txt}{space 30} {c |}
{space 23}lngdppc {c |}{col 32}{res}{space 2}-5.110246{col 44}{space 2} 6.396211{col 55}{space 1}   -0.80{col 64}{space 3}0.426{col 72}{space 4}-17.79136{col 85}{space 3} 7.570865
{txt}{space 25}lngdp {c |}{col 32}{res}{space 2} 7.183706{col 44}{space 2} 6.283683{col 55}{space 1}    1.14{col 64}{space 3}0.256{col 72}{space 4}-5.274306{col 85}{space 3} 19.64172
{txt}{space 14}NaturalResources {c |}{col 32}{res}{space 2}-.0980605{col 44}{space 2} .0423142{col 55}{space 1}   -2.32{col 64}{space 3}0.022{col 72}{space 4}-.1819525{col 85}{space 3}-.0141686
{txt}{space 21}urban_pop {c |}{col 32}{res}{space 2} .2293134{col 44}{space 2} .1188993{col 55}{space 1}    1.93{col 64}{space 3}0.056{col 72}{space 4}-.0064161{col 85}{space 3} .4650429
{txt}{space 19}electricity {c |}{col 32}{res}{space 2}-.0354358{col 44}{space 2} .0188228{col 55}{space 1}   -1.88{col 64}{space 3}0.062{col 72}{space 4}-.0727538{col 85}{space 3} .0018823
{txt}{space 20}FDI_inflow {c |}{col 32}{res}{space 2}-.0072792{col 44}{space 2} .0221398{col 55}{space 1}   -0.33{col 64}{space 3}0.743{col 72}{space 4}-.0511735{col 85}{space 3} .0366151
{txt}{space 17}tradeopenness {c |}{col 32}{res}{space 2}  .023579{col 44}{space 2}  .012286{col 55}{space 1}    1.92{col 64}{space 3}0.058{col 72}{space 4}-.0007792{col 85}{space 3} .0479372
{txt}{space 9}chineseworkers_capita {c |}{col 32}{res}{space 2} .1012081{col 44}{space 2} .0412016{col 55}{space 1}    2.46{col 64}{space 3}0.016{col 72}{space 4} .0195218{col 85}{space 3} .1828943
{txt}{space 17}bri_carryover {c |}{col 32}{res}{space 2} .0985692{col 44}{space 2} .4121106{col 55}{space 1}    0.24{col 64}{space 3}0.811{col 72}{space 4}-.7184802{col 85}{space 3} .9156185
{txt}{space 30} {c |}
{space 26}year {c |}
{space 25}2002  {c |}{col 32}{res}{space 2} .4544252{col 44}{space 2} 1.264492{col 55}{space 1}    0.36{col 64}{space 3}0.720{col 72}{space 4}-2.052553{col 85}{space 3} 2.961403
{txt}{space 25}2003  {c |}{col 32}{res}{space 2} 1.067814{col 44}{space 2} 1.177661{col 55}{space 1}    0.91{col 64}{space 3}0.367{col 72}{space 4}-1.267013{col 85}{space 3} 3.402642
{txt}{space 25}2004  {c |}{col 32}{res}{space 2} 1.238957{col 44}{space 2} 1.388419{col 55}{space 1}    0.89{col 64}{space 3}0.374{col 72}{space 4}-1.513719{col 85}{space 3} 3.991634
{txt}{space 25}2005  {c |}{col 32}{res}{space 2} .7593346{col 44}{space 2} 1.450803{col 55}{space 1}    0.52{col 64}{space 3}0.602{col 72}{space 4}-2.117024{col 85}{space 3} 3.635693
{txt}{space 25}2006  {c |}{col 32}{res}{space 2} .5304179{col 44}{space 2} 1.251373{col 55}{space 1}    0.42{col 64}{space 3}0.673{col 72}{space 4}-1.950551{col 85}{space 3} 3.011387
{txt}{space 25}2007  {c |}{col 32}{res}{space 2}-1.103729{col 44}{space 2} 1.112922{col 55}{space 1}   -0.99{col 64}{space 3}0.324{col 72}{space 4}-3.310205{col 85}{space 3} 1.102746
{txt}{space 25}2008  {c |}{col 32}{res}{space 2}-1.313644{col 44}{space 2} 1.267831{col 55}{space 1}   -1.04{col 64}{space 3}0.302{col 72}{space 4}-3.827241{col 85}{space 3} 1.199953
{txt}{space 25}2009  {c |}{col 32}{res}{space 2} .2004141{col 44}{space 2} 1.290335{col 55}{space 1}    0.16{col 64}{space 3}0.877{col 72}{space 4}-2.357801{col 85}{space 3} 2.758629
{txt}{space 25}2010  {c |}{col 32}{res}{space 2}-.5754274{col 44}{space 2} 1.362195{col 55}{space 1}   -0.42{col 64}{space 3}0.674{col 72}{space 4}-3.276111{col 85}{space 3} 2.125257
{txt}{space 25}2011  {c |}{col 32}{res}{space 2}-1.161222{col 44}{space 2} 1.535004{col 55}{space 1}   -0.76{col 64}{space 3}0.451{col 72}{space 4}-4.204517{col 85}{space 3} 1.882073
{txt}{space 25}2012  {c |}{col 32}{res}{space 2}-.9712123{col 44}{space 2} 1.609206{col 55}{space 1}   -0.60{col 64}{space 3}0.547{col 72}{space 4} -4.16162{col 85}{space 3} 2.219195
{txt}{space 25}2013  {c |}{col 32}{res}{space 2}-1.409196{col 44}{space 2} 1.694989{col 55}{space 1}   -0.83{col 64}{space 3}0.408{col 72}{space 4}-4.769677{col 85}{space 3} 1.951285
{txt}{space 25}2014  {c |}{col 32}{res}{space 2}-2.259672{col 44}{space 2} 1.789657{col 55}{space 1}   -1.26{col 64}{space 3}0.209{col 72}{space 4}-5.807842{col 85}{space 3} 1.288497
{txt}{space 25}2015  {c |}{col 32}{res}{space 2}-1.947023{col 44}{space 2} 1.873836{col 55}{space 1}   -1.04{col 64}{space 3}0.301{col 72}{space 4}-5.662084{col 85}{space 3} 1.768038
{txt}{space 25}2016  {c |}{col 32}{res}{space 2}-1.775654{col 44}{space 2} 1.954989{col 55}{space 1}   -0.91{col 64}{space 3}0.366{col 72}{space 4}-5.651609{col 85}{space 3} 2.100301
{txt}{space 25}2017  {c |}{col 32}{res}{space 2}-1.781157{col 44}{space 2} 2.057792{col 55}{space 1}   -0.87{col 64}{space 3}0.389{col 72}{space 4}-5.860931{col 85}{space 3} 2.298616
{txt}{space 30} {c |}
{space 25}_cons {c |}{col 32}{res}{space 2}-145.1423{col 44}{space 2} 110.4359{col 55}{space 1}   -1.31{col 64}{space 3}0.192{col 72}{space 4}-364.0923{col 85}{space 3} 73.80764
{txt}{hline 31}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
                       sigma_u {c |} {res} 14.393521
                       {txt}sigma_e {c |} {res} 1.0472692
                           {txt}rho {c |} {res}  .9947339{txt}   (fraction of variance due to u_i)
{hline 31}{c BT}{hline 64}
F test that all u_i=0: F({res}18{txt}, {res}106{txt}) = {res}4.07{col 62}{txt}Prob > F = {res}0.0000
{txt}({res}est6{txt} stored)

{com}. 
{txt}end of do-file

{com}. do "C:\Users\yujeo\AppData\Local\Temp\STD01000000.tmp"
{txt}
{com}. 
. *Table A14: Anti-China Protests and Polity on ODA and OOF
. eststo clear
{txt}
{com}. eststo: xtreg OFa_oda_pop_ln L1.OFa_oda_pop_ln   c.protestL1##c.polity2L1  lngdppc lngdp NaturalResources  urban_pop electricity FDI_inflow tradeopenness  i.year   , fe
{res}
{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}       154
{txt}Group variable: {res}cowcode{txt}{col 49}Number of groups{col 67}={col 69}{res}        18

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.2499{col 63}{txt}min{col 67}={col 69}{res}         3
{txt}     between = {res}0.5383{col 63}{txt}avg{col 67}={col 69}{res}       8.6
{txt}     overall = {res}0.2284{col 63}{txt}max{col 67}={col 69}{res}        13

{txt}{col 49}F({res}27{txt},{res}109{txt}){col 67}={col 70}{res}     1.34
{txt}corr(u_i, Xb){col 16}= {res}-0.9975{txt}{col 49}Prob > F{col 67}={col 73}{res}0.1446

{txt}{hline 24}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}         OFa_oda_pop_ln{col 25}{c |}      Coef.{col 37}   Std. Err.{col 49}      t{col 57}   P>|t|{col 65}     [95% Con{col 78}f. Interval]
{hline 24}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}OFa_oda_pop_ln {c |}
{space 20}L1. {c |}{col 25}{res}{space 2}-.2084062{col 37}{space 2} .0906961{col 48}{space 1}   -2.30{col 57}{space 3}0.023{col 65}{space 4}-.3881628{col 78}{space 3}-.0286495
{txt}{space 23} {c |}
{space 14}protestL1 {c |}{col 25}{res}{space 2}-.0113564{col 37}{space 2} .0107972{col 48}{space 1}   -1.05{col 57}{space 3}0.295{col 65}{space 4}-.0327561{col 78}{space 3} .0100433
{txt}{space 14}polity2L1 {c |}{col 25}{res}{space 2}-.0375562{col 37}{space 2} .0399183{col 48}{space 1}   -0.94{col 57}{space 3}0.349{col 65}{space 4}-.1166728{col 78}{space 3} .0415605
{txt}{space 23} {c |}
c.protestL1#c.polity2L1 {c |}{col 25}{res}{space 2} .0011331{col 37}{space 2}  .001404{col 48}{space 1}    0.81{col 57}{space 3}0.421{col 65}{space 4}-.0016496{col 78}{space 3} .0039158
{txt}{space 23} {c |}
{space 16}lngdppc {c |}{col 25}{res}{space 2}-5.306676{col 37}{space 2} 5.108527{col 48}{space 1}   -1.04{col 57}{space 3}0.301{col 65}{space 4}-15.43161{col 78}{space 3} 4.818258
{txt}{space 18}lngdp {c |}{col 25}{res}{space 2} 6.185134{col 37}{space 2}  5.03046{col 48}{space 1}    1.23{col 57}{space 3}0.222{col 65}{space 4}-3.785073{col 78}{space 3} 16.15534
{txt}{space 7}NaturalResources {c |}{col 25}{res}{space 2} .0945067{col 37}{space 2} .0347958{col 48}{space 1}    2.72{col 57}{space 3}0.008{col 65}{space 4} .0255426{col 78}{space 3} .1634709
{txt}{space 14}urban_pop {c |}{col 25}{res}{space 2}-.0514955{col 37}{space 2} .0939467{col 48}{space 1}   -0.55{col 57}{space 3}0.585{col 65}{space 4}-.2376947{col 78}{space 3} .1347038
{txt}{space 12}electricity {c |}{col 25}{res}{space 2} .0159218{col 37}{space 2}  .016116{col 48}{space 1}    0.99{col 57}{space 3}0.325{col 65}{space 4}-.0160195{col 78}{space 3} .0478631
{txt}{space 13}FDI_inflow {c |}{col 25}{res}{space 2}-.0151635{col 37}{space 2} .0178733{col 48}{space 1}   -0.85{col 57}{space 3}0.398{col 65}{space 4}-.0505878{col 78}{space 3} .0202608
{txt}{space 10}tradeopenness {c |}{col 25}{res}{space 2}-.0022613{col 37}{space 2}  .010339{col 48}{space 1}   -0.22{col 57}{space 3}0.827{col 65}{space 4}-.0227528{col 78}{space 3} .0182302
{txt}{space 23} {c |}
{space 19}year {c |}
{space 18}2002  {c |}{col 25}{res}{space 2} 1.209684{col 37}{space 2} 1.083896{col 48}{space 1}    1.12{col 57}{space 3}0.267{col 65}{space 4}-.9385628{col 78}{space 3} 3.357931
{txt}{space 18}2003  {c |}{col 25}{res}{space 2}-1.728156{col 37}{space 2} 1.043812{col 48}{space 1}   -1.66{col 57}{space 3}0.101{col 65}{space 4}-3.796959{col 78}{space 3} .3406459
{txt}{space 18}2004  {c |}{col 25}{res}{space 2}-.4919908{col 37}{space 2}  1.19985{col 48}{space 1}   -0.41{col 57}{space 3}0.683{col 65}{space 4}-2.870054{col 78}{space 3} 1.886073
{txt}{space 18}2005  {c |}{col 25}{res}{space 2}-.7893501{col 37}{space 2} 1.287731{col 48}{space 1}   -0.61{col 57}{space 3}0.541{col 65}{space 4} -3.34159{col 78}{space 3}  1.76289
{txt}{space 18}2006  {c |}{col 25}{res}{space 2}-2.095242{col 37}{space 2} 1.093542{col 48}{space 1}   -1.92{col 57}{space 3}0.058{col 65}{space 4}-4.262608{col 78}{space 3} .0721236
{txt}{space 18}2007  {c |}{col 25}{res}{space 2}-1.758617{col 37}{space 2} .9518855{col 48}{space 1}   -1.85{col 57}{space 3}0.067{col 65}{space 4}-3.645223{col 78}{space 3} .1279893
{txt}{space 18}2008  {c |}{col 25}{res}{space 2}-2.326396{col 37}{space 2} 1.085195{col 48}{space 1}   -2.14{col 57}{space 3}0.034{col 65}{space 4}-4.477216{col 78}{space 3}-.1755755
{txt}{space 18}2009  {c |}{col 25}{res}{space 2}-1.392691{col 37}{space 2} 1.097368{col 48}{space 1}   -1.27{col 57}{space 3}0.207{col 65}{space 4}-3.567639{col 78}{space 3} .7822565
{txt}{space 18}2010  {c |}{col 25}{res}{space 2}-1.408799{col 37}{space 2} 1.164294{col 48}{space 1}   -1.21{col 57}{space 3}0.229{col 65}{space 4}-3.716392{col 78}{space 3} .8987947
{txt}{space 18}2011  {c |}{col 25}{res}{space 2}-2.026726{col 37}{space 2} 1.297062{col 48}{space 1}   -1.56{col 57}{space 3}0.121{col 65}{space 4}-4.597461{col 78}{space 3} .5440088
{txt}{space 18}2012  {c |}{col 25}{res}{space 2}  -2.0554{col 37}{space 2} 1.344875{col 48}{space 1}   -1.53{col 57}{space 3}0.129{col 65}{space 4}-4.720898{col 78}{space 3} .6100972
{txt}{space 18}2013  {c |}{col 25}{res}{space 2}-2.013958{col 37}{space 2} 1.414687{col 48}{space 1}   -1.42{col 57}{space 3}0.157{col 65}{space 4}-4.817822{col 78}{space 3} .7899052
{txt}{space 18}2014  {c |}{col 25}{res}{space 2}-2.387352{col 37}{space 2} 1.489284{col 48}{space 1}   -1.60{col 57}{space 3}0.112{col 65}{space 4}-5.339064{col 78}{space 3} .5643611
{txt}{space 18}2015  {c |}{col 25}{res}{space 2}-2.112574{col 37}{space 2} 1.548236{col 48}{space 1}   -1.36{col 57}{space 3}0.175{col 65}{space 4}-5.181127{col 78}{space 3} .9559787
{txt}{space 18}2016  {c |}{col 25}{res}{space 2}-1.723248{col 37}{space 2}  1.61244{col 48}{space 1}   -1.07{col 57}{space 3}0.288{col 65}{space 4}-4.919052{col 78}{space 3} 1.472556
{txt}{space 18}2017  {c |}{col 25}{res}{space 2}-2.174856{col 37}{space 2} 1.681779{col 48}{space 1}   -1.29{col 57}{space 3}0.199{col 65}{space 4}-5.508088{col 78}{space 3} 1.158375
{txt}{space 23} {c |}
{space 18}_cons {c |}{col 25}{res}{space 2}-110.7636{col 37}{space 2} 88.20054{col 48}{space 1}   -1.26{col 57}{space 3}0.212{col 65}{space 4}-285.5742{col 78}{space 3} 64.04706
{txt}{hline 24}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
                sigma_u {c |} {res} 11.543905
                {txt}sigma_e {c |} {res} .90377322
                    {txt}rho {c |} {res}   .993908{txt}   (fraction of variance due to u_i)
{hline 24}{c BT}{hline 64}
F test that all u_i=0: F({res}17{txt}, {res}109{txt}) = {res}2.49{col 62}{txt}Prob > F = {res}0.0023
{txt}({res}est1{txt} stored)

{com}. eststo: xtreg OFa_oda_pop_ln L1.OFa_oda_pop_ln   c.protestL1##c.polity2L1  lngdppc lngdp NaturalResources  urban_pop electricity ChinaTradeOpenness chinese_ofdi_inflow_gdp chineseworkers_capita i.year   , fe
{res}
{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}       136
{txt}Group variable: {res}cowcode{txt}{col 49}Number of groups{col 67}={col 69}{res}        18

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.2825{col 63}{txt}min{col 67}={col 69}{res}         1
{txt}     between = {res}0.4700{col 63}{txt}avg{col 67}={col 69}{res}       7.6
{txt}     overall = {res}0.2612{col 63}{txt}max{col 67}={col 69}{res}        13

{txt}{col 49}F({res}26{txt},{res}92{txt}){col 67}={col 70}{res}     1.39
{txt}corr(u_i, Xb){col 16}= {res}-0.9976{txt}{col 49}Prob > F{col 67}={col 73}{res}0.1269

{txt}{hline 24}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}         OFa_oda_pop_ln{col 25}{c |}      Coef.{col 37}   Std. Err.{col 49}      t{col 57}   P>|t|{col 65}     [95% Con{col 78}f. Interval]
{hline 24}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}OFa_oda_pop_ln {c |}
{space 20}L1. {c |}{col 25}{res}{space 2}-.2226312{col 37}{space 2}  .093453{col 48}{space 1}   -2.38{col 57}{space 3}0.019{col 65}{space 4}-.4082368{col 78}{space 3}-.0370255
{txt}{space 23} {c |}
{space 14}protestL1 {c |}{col 25}{res}{space 2}-.0117504{col 37}{space 2} .0124232{col 48}{space 1}   -0.95{col 57}{space 3}0.347{col 65}{space 4}-.0364239{col 78}{space 3} .0129231
{txt}{space 14}polity2L1 {c |}{col 25}{res}{space 2}-.0272958{col 37}{space 2} .0449638{col 48}{space 1}   -0.61{col 57}{space 3}0.545{col 65}{space 4}-.1165978{col 78}{space 3} .0620061
{txt}{space 23} {c |}
c.protestL1#c.polity2L1 {c |}{col 25}{res}{space 2} .0009989{col 37}{space 2} .0015912{col 48}{space 1}    0.63{col 57}{space 3}0.532{col 65}{space 4}-.0021612{col 78}{space 3} .0041591
{txt}{space 23} {c |}
{space 16}lngdppc {c |}{col 25}{res}{space 2}-4.735294{col 37}{space 2} 5.823169{col 48}{space 1}   -0.81{col 57}{space 3}0.418{col 65}{space 4}-16.30061{col 78}{space 3} 6.830022
{txt}{space 18}lngdp {c |}{col 25}{res}{space 2} 6.538971{col 37}{space 2} 5.788876{col 48}{space 1}    1.13{col 57}{space 3}0.262{col 65}{space 4}-4.958236{col 78}{space 3} 18.03618
{txt}{space 7}NaturalResources {c |}{col 25}{res}{space 2} .0349627{col 37}{space 2} .0437548{col 48}{space 1}    0.80{col 57}{space 3}0.426{col 65}{space 4}-.0519381{col 78}{space 3} .1218634
{txt}{space 14}urban_pop {c |}{col 25}{res}{space 2}-.0479503{col 37}{space 2} .1014985{col 48}{space 1}   -0.47{col 57}{space 3}0.638{col 65}{space 4} -.249535{col 78}{space 3} .1536345
{txt}{space 12}electricity {c |}{col 25}{res}{space 2} .0140662{col 37}{space 2} .0199276{col 48}{space 1}    0.71{col 57}{space 3}0.482{col 65}{space 4}-.0255118{col 78}{space 3} .0536442
{txt}{space 5}ChinaTradeOpenness {c |}{col 25}{res}{space 2}-.0183119{col 37}{space 2} .0368677{col 48}{space 1}   -0.50{col 57}{space 3}0.621{col 65}{space 4}-.0915345{col 78}{space 3} .0549106
{txt}chinese_ofdi_inflow_gdp {c |}{col 25}{res}{space 2} .1232723{col 37}{space 2} .1425011{col 48}{space 1}    0.87{col 57}{space 3}0.389{col 65}{space 4}-.1597472{col 78}{space 3} .4062917
{txt}{space 2}chineseworkers_capita {c |}{col 25}{res}{space 2} .0816684{col 37}{space 2} .0407139{col 48}{space 1}    2.01{col 57}{space 3}0.048{col 65}{space 4} .0008071{col 78}{space 3} .1625296
{txt}{space 23} {c |}
{space 19}year {c |}
{space 18}2004  {c |}{col 25}{res}{space 2}-.2508316{col 37}{space 2} .8973743{col 48}{space 1}   -0.28{col 57}{space 3}0.780{col 65}{space 4}-2.033094{col 78}{space 3} 1.531431
{txt}{space 18}2005  {c |}{col 25}{res}{space 2} .3110091{col 37}{space 2} 1.118366{col 48}{space 1}    0.28{col 57}{space 3}0.782{col 65}{space 4}-1.910163{col 78}{space 3} 2.532181
{txt}{space 18}2006  {c |}{col 25}{res}{space 2}  -.76481{col 37}{space 2} 1.019181{col 48}{space 1}   -0.75{col 57}{space 3}0.455{col 65}{space 4}-2.788991{col 78}{space 3} 1.259371
{txt}{space 18}2007  {c |}{col 25}{res}{space 2}-.9822376{col 37}{space 2}  .956672{col 48}{space 1}   -1.03{col 57}{space 3}0.307{col 65}{space 4}-2.882271{col 78}{space 3} .9177956
{txt}{space 18}2008  {c |}{col 25}{res}{space 2}-1.393134{col 37}{space 2} 1.098229{col 48}{space 1}   -1.27{col 57}{space 3}0.208{col 65}{space 4}-3.574312{col 78}{space 3} .7880446
{txt}{space 18}2009  {c |}{col 25}{res}{space 2}-.3369168{col 37}{space 2} 1.114195{col 48}{space 1}   -0.30{col 57}{space 3}0.763{col 65}{space 4}-2.549804{col 78}{space 3}  1.87597
{txt}{space 18}2010  {c |}{col 25}{res}{space 2} -.790612{col 37}{space 2} 1.256313{col 48}{space 1}   -0.63{col 57}{space 3}0.531{col 65}{space 4}-3.285759{col 78}{space 3} 1.704535
{txt}{space 18}2011  {c |}{col 25}{res}{space 2}-1.634982{col 37}{space 2} 1.425737{col 48}{space 1}   -1.15{col 57}{space 3}0.254{col 65}{space 4}-4.466619{col 78}{space 3} 1.196654
{txt}{space 18}2012  {c |}{col 25}{res}{space 2}-1.740567{col 37}{space 2} 1.479281{col 48}{space 1}   -1.18{col 57}{space 3}0.242{col 65}{space 4}-4.678547{col 78}{space 3} 1.197413
{txt}{space 18}2013  {c |}{col 25}{res}{space 2}-1.787457{col 37}{space 2} 1.553175{col 48}{space 1}   -1.15{col 57}{space 3}0.253{col 65}{space 4}-4.872197{col 78}{space 3} 1.297282
{txt}{space 18}2014  {c |}{col 25}{res}{space 2}-2.150399{col 37}{space 2} 1.631407{col 48}{space 1}   -1.32{col 57}{space 3}0.191{col 65}{space 4}-5.390514{col 78}{space 3} 1.089716
{txt}{space 18}2015  {c |}{col 25}{res}{space 2}-1.805022{col 37}{space 2} 1.656103{col 48}{space 1}   -1.09{col 57}{space 3}0.279{col 65}{space 4}-5.094185{col 78}{space 3}  1.48414
{txt}{space 18}2016  {c |}{col 25}{res}{space 2} -1.38171{col 37}{space 2} 1.707652{col 48}{space 1}   -0.81{col 57}{space 3}0.421{col 65}{space 4}-4.773254{col 78}{space 3} 2.009834
{txt}{space 18}2017  {c |}{col 25}{res}{space 2}-1.771279{col 37}{space 2} 1.811385{col 48}{space 1}   -0.98{col 57}{space 3}0.331{col 65}{space 4}-5.368845{col 78}{space 3} 1.826287
{txt}{space 23} {c |}
{space 18}_cons {c |}{col 25}{res}{space 2}-124.9527{col 37}{space 2} 102.1511{col 48}{space 1}   -1.22{col 57}{space 3}0.224{col 65}{space 4}-327.8337{col 78}{space 3} 77.92831
{txt}{hline 24}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
                sigma_u {c |} {res} 11.819243
                {txt}sigma_e {c |} {res} .87805334
                    {txt}rho {c |} {res} .99451127{txt}   (fraction of variance due to u_i)
{hline 24}{c BT}{hline 64}
F test that all u_i=0: F({res}17{txt}, {res}92{txt}) = {res}1.48{col 62}{txt}Prob > F = {res}0.1178
{txt}({res}est2{txt} stored)

{com}. eststo: xtreg OFa_oda_pop_ln L1.OFa_oda_pop_ln   c.protestL1##c.polity2L1  lngdppc lngdp NaturalResources  urban_pop electricity FDI_inflow tradeopenness chineseworkers_capita  bri_carryover  i.year   , fe
{res}
{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}       153
{txt}Group variable: {res}cowcode{txt}{col 49}Number of groups{col 67}={col 69}{res}        18

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.2887{col 63}{txt}min{col 67}={col 69}{res}         3
{txt}     between = {res}0.5439{col 63}{txt}avg{col 67}={col 69}{res}       8.5
{txt}     overall = {res}0.2338{col 63}{txt}max{col 67}={col 69}{res}        13

{txt}{col 49}F({res}29{txt},{res}106{txt}){col 67}={col 70}{res}     1.48
{txt}corr(u_i, Xb){col 16}= {res}-0.9985{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0763

{txt}{hline 24}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}         OFa_oda_pop_ln{col 25}{c |}      Coef.{col 37}   Std. Err.{col 49}      t{col 57}   P>|t|{col 65}     [95% Con{col 78}f. Interval]
{hline 24}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}OFa_oda_pop_ln {c |}
{space 20}L1. {c |}{col 25}{res}{space 2}-.2179369{col 37}{space 2} .0899873{col 48}{space 1}   -2.42{col 57}{space 3}0.017{col 65}{space 4}-.3963454{col 78}{space 3}-.0395283
{txt}{space 23} {c |}
{space 14}protestL1 {c |}{col 25}{res}{space 2}-.0117745{col 37}{space 2}  .011146{col 48}{space 1}   -1.06{col 57}{space 3}0.293{col 65}{space 4}-.0338727{col 78}{space 3} .0103236
{txt}{space 14}polity2L1 {c |}{col 25}{res}{space 2}-.0338786{col 37}{space 2} .0394939{col 48}{space 1}   -0.86{col 57}{space 3}0.393{col 65}{space 4} -.112179{col 78}{space 3} .0444218
{txt}{space 23} {c |}
c.protestL1#c.polity2L1 {c |}{col 25}{res}{space 2} .0011279{col 37}{space 2} .0014634{col 48}{space 1}    0.77{col 57}{space 3}0.443{col 65}{space 4}-.0017736{col 78}{space 3} .0040293
{txt}{space 23} {c |}
{space 16}lngdppc {c |}{col 25}{res}{space 2}-7.375425{col 37}{space 2} 5.396808{col 48}{space 1}   -1.37{col 57}{space 3}0.175{col 65}{space 4}-18.07512{col 78}{space 3} 3.324272
{txt}{space 18}lngdp {c |}{col 25}{res}{space 2} 8.402381{col 37}{space 2} 5.276686{col 48}{space 1}    1.59{col 57}{space 3}0.114{col 65}{space 4}-2.059163{col 78}{space 3} 18.86393
{txt}{space 7}NaturalResources {c |}{col 25}{res}{space 2} .0740995{col 37}{space 2} .0361715{col 48}{space 1}    2.05{col 57}{space 3}0.043{col 65}{space 4}  .002386{col 78}{space 3}  .145813
{txt}{space 14}urban_pop {c |}{col 25}{res}{space 2}-.0399411{col 37}{space 2} .0938571{col 48}{space 1}   -0.43{col 57}{space 3}0.671{col 65}{space 4} -.226022{col 78}{space 3} .1461397
{txt}{space 12}electricity {c |}{col 25}{res}{space 2}  .016848{col 37}{space 2} .0161179{col 48}{space 1}    1.05{col 57}{space 3}0.298{col 65}{space 4}-.0151073{col 78}{space 3} .0488033
{txt}{space 13}FDI_inflow {c |}{col 25}{res}{space 2}-.0297906{col 37}{space 2}  .018776{col 48}{space 1}   -1.59{col 57}{space 3}0.116{col 65}{space 4}-.0670157{col 78}{space 3} .0074346
{txt}{space 10}tradeopenness {c |}{col 25}{res}{space 2} .0014775{col 37}{space 2} .0106876{col 48}{space 1}    0.14{col 57}{space 3}0.890{col 65}{space 4}-.0197118{col 78}{space 3} .0226667
{txt}{space 2}chineseworkers_capita {c |}{col 25}{res}{space 2} .0822631{col 37}{space 2} .0343261{col 48}{space 1}    2.40{col 57}{space 3}0.018{col 65}{space 4} .0142083{col 78}{space 3}  .150318
{txt}{space 10}bri_carryover {c |}{col 25}{res}{space 2}-.1846117{col 37}{space 2} .3489772{col 48}{space 1}   -0.53{col 57}{space 3}0.598{col 65}{space 4} -.876493{col 78}{space 3} .5072696
{txt}{space 23} {c |}
{space 19}year {c |}
{space 18}2002  {c |}{col 25}{res}{space 2} 1.110424{col 37}{space 2} 1.071167{col 48}{space 1}    1.04{col 57}{space 3}0.302{col 65}{space 4}-1.013267{col 78}{space 3} 3.234116
{txt}{space 18}2003  {c |}{col 25}{res}{space 2}-1.624164{col 37}{space 2}  1.03402{col 48}{space 1}   -1.57{col 57}{space 3}0.119{col 65}{space 4}-3.674209{col 78}{space 3} .4258814
{txt}{space 18}2004  {c |}{col 25}{res}{space 2}-.6603402{col 37}{space 2} 1.187243{col 48}{space 1}   -0.56{col 57}{space 3}0.579{col 65}{space 4}-3.014165{col 78}{space 3} 1.693485
{txt}{space 18}2005  {c |}{col 25}{res}{space 2}-.8033882{col 37}{space 2} 1.274946{col 48}{space 1}   -0.63{col 57}{space 3}0.530{col 65}{space 4}-3.331092{col 78}{space 3} 1.724316
{txt}{space 18}2006  {c |}{col 25}{res}{space 2}-2.270142{col 37}{space 2} 1.082252{col 48}{space 1}   -2.10{col 57}{space 3}0.038{col 65}{space 4}-4.415812{col 78}{space 3}-.1244724
{txt}{space 18}2007  {c |}{col 25}{res}{space 2}-1.977305{col 37}{space 2} .9450333{col 48}{space 1}   -2.09{col 57}{space 3}0.039{col 65}{space 4}-3.850925{col 78}{space 3}-.1036846
{txt}{space 18}2008  {c |}{col 25}{res}{space 2}-2.567589{col 37}{space 2} 1.076603{col 48}{space 1}   -2.38{col 57}{space 3}0.019{col 65}{space 4}-4.702058{col 78}{space 3}-.4331194
{txt}{space 18}2009  {c |}{col 25}{res}{space 2}-1.654357{col 37}{space 2} 1.090587{col 48}{space 1}   -1.52{col 57}{space 3}0.132{col 65}{space 4}-3.816552{col 78}{space 3}  .507838
{txt}{space 18}2010  {c |}{col 25}{res}{space 2}-1.684385{col 37}{space 2} 1.157983{col 48}{space 1}   -1.45{col 57}{space 3}0.149{col 65}{space 4}-3.980198{col 78}{space 3} .6114281
{txt}{space 18}2011  {c |}{col 25}{res}{space 2}-2.449252{col 37}{space 2} 1.296702{col 48}{space 1}   -1.89{col 57}{space 3}0.062{col 65}{space 4}-5.020091{col 78}{space 3} .1215862
{txt}{space 18}2012  {c |}{col 25}{res}{space 2}-2.567378{col 37}{space 2} 1.348913{col 48}{space 1}   -1.90{col 57}{space 3}0.060{col 65}{space 4} -5.24173{col 78}{space 3} .1069735
{txt}{space 18}2013  {c |}{col 25}{res}{space 2}-2.498385{col 37}{space 2} 1.423033{col 48}{space 1}   -1.76{col 57}{space 3}0.082{col 65}{space 4}-5.319686{col 78}{space 3} .3229165
{txt}{space 18}2014  {c |}{col 25}{res}{space 2}-2.900582{col 37}{space 2} 1.497169{col 48}{space 1}   -1.94{col 57}{space 3}0.055{col 65}{space 4}-5.868866{col 78}{space 3} .0677018
{txt}{space 18}2015  {c |}{col 25}{res}{space 2}-2.620502{col 37}{space 2} 1.559599{col 48}{space 1}   -1.68{col 57}{space 3}0.096{col 65}{space 4}-5.712558{col 78}{space 3} .4715552
{txt}{space 18}2016  {c |}{col 25}{res}{space 2}-2.279307{col 37}{space 2} 1.627301{col 48}{space 1}   -1.40{col 57}{space 3}0.164{col 65}{space 4} -5.50559{col 78}{space 3} .9469761
{txt}{space 18}2017  {c |}{col 25}{res}{space 2}-2.599181{col 37}{space 2} 1.714247{col 48}{space 1}   -1.52{col 57}{space 3}0.132{col 65}{space 4}-5.997843{col 78}{space 3} .7994804
{txt}{space 23} {c |}
{space 18}_cons {c |}{col 25}{res}{space 2}-151.0037{col 37}{space 2} 92.16057{col 48}{space 1}   -1.64{col 57}{space 3}0.104{col 65}{space 4} -333.721{col 78}{space 3} 31.71362
{txt}{hline 24}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
                sigma_u {c |} {res} 15.001896
                {txt}sigma_e {c |} {res} .89208603
                    {txt}rho {c |} {res} .99647639{txt}   (fraction of variance due to u_i)
{hline 24}{c BT}{hline 64}
F test that all u_i=0: F({res}17{txt}, {res}106{txt}) = {res}2.37{col 62}{txt}Prob > F = {res}0.0040
{txt}({res}est3{txt} stored)

{com}. eststo: xtreg OFa_oofv_pop_ln L1.OFa_oofv_pop_ln   c.protestL1##c.polity2L1  lngdppc lngdp NaturalResources  urban_pop electricity FDI_inflow tradeopenness  i.year   , fe
{res}
{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}       154
{txt}Group variable: {res}cowcode{txt}{col 49}Number of groups{col 67}={col 69}{res}        18

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.3731{col 63}{txt}min{col 67}={col 69}{res}         3
{txt}     between = {res}0.0937{col 63}{txt}avg{col 67}={col 69}{res}       8.6
{txt}     overall = {res}0.0259{col 63}{txt}max{col 67}={col 69}{res}        13

{txt}{col 49}F({res}27{txt},{res}109{txt}){col 67}={col 70}{res}     2.40
{txt}corr(u_i, Xb){col 16}= {res}-0.9896{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0008

{txt}{hline 24}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}        OFa_oofv_pop_ln{col 25}{c |}      Coef.{col 37}   Std. Err.{col 49}      t{col 57}   P>|t|{col 65}     [95% Con{col 78}f. Interval]
{hline 24}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 8}OFa_oofv_pop_ln {c |}
{space 20}L1. {c |}{col 25}{res}{space 2}-.0541013{col 37}{space 2} .0962273{col 48}{space 1}   -0.56{col 57}{space 3}0.575{col 65}{space 4}-.2448207{col 78}{space 3} .1366181
{txt}{space 23} {c |}
{space 14}protestL1 {c |}{col 25}{res}{space 2} .0368171{col 37}{space 2} .0134468{col 48}{space 1}    2.74{col 57}{space 3}0.007{col 65}{space 4}  .010166{col 78}{space 3} .0634682
{txt}{space 14}polity2L1 {c |}{col 25}{res}{space 2} .1172528{col 37}{space 2} .0495327{col 48}{space 1}    2.37{col 57}{space 3}0.020{col 65}{space 4} .0190805{col 78}{space 3} .2154251
{txt}{space 23} {c |}
c.protestL1#c.polity2L1 {c |}{col 25}{res}{space 2}-.0052732{col 37}{space 2} .0017513{col 48}{space 1}   -3.01{col 57}{space 3}0.003{col 65}{space 4}-.0087442{col 78}{space 3}-.0018022
{txt}{space 23} {c |}
{space 16}lngdppc {c |}{col 25}{res}{space 2}-2.553115{col 37}{space 2} 6.585702{col 48}{space 1}   -0.39{col 57}{space 3}0.699{col 65}{space 4}-15.60576{col 78}{space 3} 10.49953
{txt}{space 18}lngdp {c |}{col 25}{res}{space 2} 5.236427{col 37}{space 2} 6.546433{col 48}{space 1}    0.80{col 57}{space 3}0.426{col 65}{space 4}-7.738391{col 78}{space 3} 18.21124
{txt}{space 7}NaturalResources {c |}{col 25}{res}{space 2}-.1456687{col 37}{space 2} .0435354{col 48}{space 1}   -3.35{col 57}{space 3}0.001{col 65}{space 4}-.2319543{col 78}{space 3} -.059383
{txt}{space 14}urban_pop {c |}{col 25}{res}{space 2} .2957159{col 37}{space 2} .1174931{col 48}{space 1}    2.52{col 57}{space 3}0.013{col 65}{space 4} .0628484{col 78}{space 3} .5285834
{txt}{space 12}electricity {c |}{col 25}{res}{space 2}-.0497317{col 37}{space 2} .0199708{col 48}{space 1}   -2.49{col 57}{space 3}0.014{col 65}{space 4}-.0893132{col 78}{space 3}-.0101503
{txt}{space 13}FDI_inflow {c |}{col 25}{res}{space 2} .0267253{col 37}{space 2} .0223538{col 48}{space 1}    1.20{col 57}{space 3}0.234{col 65}{space 4}-.0175792{col 78}{space 3} .0710299
{txt}{space 10}tradeopenness {c |}{col 25}{res}{space 2} .0241458{col 37}{space 2} .0129688{col 48}{space 1}    1.86{col 57}{space 3}0.065{col 65}{space 4}-.0015579{col 78}{space 3} .0498495
{txt}{space 23} {c |}
{space 19}year {c |}
{space 18}2002  {c |}{col 25}{res}{space 2} -1.68048{col 37}{space 2} 1.370199{col 48}{space 1}   -1.23{col 57}{space 3}0.223{col 65}{space 4}-4.396171{col 78}{space 3}  1.03521
{txt}{space 18}2003  {c |}{col 25}{res}{space 2} 2.737021{col 37}{space 2} 1.291621{col 48}{space 1}    2.12{col 57}{space 3}0.036{col 65}{space 4} .1770707{col 78}{space 3} 5.296972
{txt}{space 18}2004  {c |}{col 25}{res}{space 2} 1.731736{col 37}{space 2} 1.501733{col 48}{space 1}    1.15{col 57}{space 3}0.251{col 65}{space 4} -1.24465{col 78}{space 3} 4.708123
{txt}{space 18}2005  {c |}{col 25}{res}{space 2} 1.684956{col 37}{space 2} 1.609927{col 48}{space 1}    1.05{col 57}{space 3}0.298{col 65}{space 4}-1.505866{col 78}{space 3} 4.875778
{txt}{space 18}2006  {c |}{col 25}{res}{space 2} 2.084836{col 37}{space 2} 1.376987{col 48}{space 1}    1.51{col 57}{space 3}0.133{col 65}{space 4}-.6443079{col 78}{space 3} 4.813979
{txt}{space 18}2007  {c |}{col 25}{res}{space 2}-.5349047{col 37}{space 2} 1.217827{col 48}{space 1}   -0.44{col 57}{space 3}0.661{col 65}{space 4}-2.948599{col 78}{space 3} 1.878789
{txt}{space 18}2008  {c |}{col 25}{res}{space 2}-.5198017{col 37}{space 2} 1.389891{col 48}{space 1}   -0.37{col 57}{space 3}0.709{col 65}{space 4}-3.274521{col 78}{space 3} 2.234917
{txt}{space 18}2009  {c |}{col 25}{res}{space 2} .5932177{col 37}{space 2}  1.40461{col 48}{space 1}    0.42{col 57}{space 3}0.674{col 65}{space 4}-2.190674{col 78}{space 3} 3.377109
{txt}{space 18}2010  {c |}{col 25}{res}{space 2}-.3750592{col 37}{space 2} 1.481337{col 48}{space 1}   -0.25{col 57}{space 3}0.801{col 65}{space 4}-3.311022{col 78}{space 3} 2.560903
{txt}{space 18}2011  {c |}{col 25}{res}{space 2}-.8345726{col 37}{space 2} 1.665204{col 48}{space 1}   -0.50{col 57}{space 3}0.617{col 65}{space 4}-4.134953{col 78}{space 3} 2.465807
{txt}{space 18}2012  {c |}{col 25}{res}{space 2}-.6246262{col 37}{space 2} 1.736461{col 48}{space 1}   -0.36{col 57}{space 3}0.720{col 65}{space 4}-4.066235{col 78}{space 3} 2.816983
{txt}{space 18}2013  {c |}{col 25}{res}{space 2}-1.179536{col 37}{space 2} 1.811941{col 48}{space 1}   -0.65{col 57}{space 3}0.516{col 65}{space 4}-4.770744{col 78}{space 3} 2.411672
{txt}{space 18}2014  {c |}{col 25}{res}{space 2}-1.832531{col 37}{space 2} 1.921511{col 48}{space 1}   -0.95{col 57}{space 3}0.342{col 65}{space 4}-5.640904{col 78}{space 3} 1.975841
{txt}{space 18}2015  {c |}{col 25}{res}{space 2}-1.815636{col 37}{space 2} 2.001992{col 48}{space 1}   -0.91{col 57}{space 3}0.366{col 65}{space 4}-5.783519{col 78}{space 3} 2.152246
{txt}{space 18}2016  {c |}{col 25}{res}{space 2} -1.77429{col 37}{space 2} 2.084929{col 48}{space 1}   -0.85{col 57}{space 3}0.397{col 65}{space 4}-5.906552{col 78}{space 3} 2.357972
{txt}{space 18}2017  {c |}{col 25}{res}{space 2} -1.70667{col 37}{space 2}  2.17202{col 48}{space 1}   -0.79{col 57}{space 3}0.434{col 65}{space 4}-6.011543{col 78}{space 3} 2.598203
{txt}{space 23} {c |}
{space 18}_cons {c |}{col 25}{res}{space 2}-117.1989{col 37}{space 2} 115.1993{col 48}{space 1}   -1.02{col 57}{space 3}0.311{col 65}{space 4}-345.5201{col 78}{space 3} 111.1224
{txt}{hline 24}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
                sigma_u {c |} {res} 10.745622
                {txt}sigma_e {c |} {res} 1.1304869
                    {txt}rho {c |} {res} .98905319{txt}   (fraction of variance due to u_i)
{hline 24}{c BT}{hline 64}
F test that all u_i=0: F({res}17{txt}, {res}109{txt}) = {res}5.18{col 62}{txt}Prob > F = {res}0.0000
{txt}({res}est4{txt} stored)

{com}. eststo: xtreg OFa_oofv_pop_ln L1.OFa_oofv_pop_ln   c.protestL1##c.polity2L1  lngdppc lngdp NaturalResources  urban_pop electricity ChinaTradeOpenness chinese_ofdi_inflow_gdp chineseworkers_capita i.year   , fe
{res}
{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}       136
{txt}Group variable: {res}cowcode{txt}{col 49}Number of groups{col 67}={col 69}{res}        18

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.4393{col 63}{txt}min{col 67}={col 69}{res}         1
{txt}     between = {res}0.0699{col 63}{txt}avg{col 67}={col 69}{res}       7.6
{txt}     overall = {res}0.0932{col 63}{txt}max{col 67}={col 69}{res}        13

{txt}{col 49}F({res}26{txt},{res}92{txt}){col 67}={col 70}{res}     2.77
{txt}corr(u_i, Xb){col 16}= {res}-0.9872{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0002

{txt}{hline 24}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}        OFa_oofv_pop_ln{col 25}{c |}      Coef.{col 37}   Std. Err.{col 49}      t{col 57}   P>|t|{col 65}     [95% Con{col 78}f. Interval]
{hline 24}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 8}OFa_oofv_pop_ln {c |}
{space 20}L1. {c |}{col 25}{res}{space 2}-.1575095{col 37}{space 2} .0956959{col 48}{space 1}   -1.65{col 57}{space 3}0.103{col 65}{space 4}-.3475699{col 78}{space 3} .0325509
{txt}{space 23} {c |}
{space 14}protestL1 {c |}{col 25}{res}{space 2} .0446753{col 37}{space 2} .0149212{col 48}{space 1}    2.99{col 57}{space 3}0.004{col 65}{space 4} .0150405{col 78}{space 3}   .07431
{txt}{space 14}polity2L1 {c |}{col 25}{res}{space 2} .1666088{col 37}{space 2} .0535069{col 48}{space 1}    3.11{col 57}{space 3}0.002{col 65}{space 4} .0603396{col 78}{space 3} .2728781
{txt}{space 23} {c |}
c.protestL1#c.polity2L1 {c |}{col 25}{res}{space 2}-.0058975{col 37}{space 2} .0019165{col 48}{space 1}   -3.08{col 57}{space 3}0.003{col 65}{space 4}-.0097038{col 78}{space 3}-.0020912
{txt}{space 23} {c |}
{space 16}lngdppc {c |}{col 25}{res}{space 2} 7.870247{col 37}{space 2} 7.139971{col 48}{space 1}    1.10{col 57}{space 3}0.273{col 65}{space 4}-6.310352{col 78}{space 3} 22.05085
{txt}{space 18}lngdp {c |}{col 25}{res}{space 2} -5.83154{col 37}{space 2} 7.130517{col 48}{space 1}   -0.82{col 57}{space 3}0.416{col 65}{space 4}-19.99336{col 78}{space 3} 8.330283
{txt}{space 7}NaturalResources {c |}{col 25}{res}{space 2}-.2933666{col 37}{space 2} .0540985{col 48}{space 1}   -5.42{col 57}{space 3}0.000{col 65}{space 4}-.4008109{col 78}{space 3}-.1859223
{txt}{space 14}urban_pop {c |}{col 25}{res}{space 2} .0764493{col 37}{space 2} .1215736{col 48}{space 1}    0.63{col 57}{space 3}0.531{col 65}{space 4}-.1650064{col 78}{space 3} .3179049
{txt}{space 12}electricity {c |}{col 25}{res}{space 2}-.0363668{col 37}{space 2} .0240248{col 48}{space 1}   -1.51{col 57}{space 3}0.134{col 65}{space 4}-.0840821{col 78}{space 3} .0113485
{txt}{space 5}ChinaTradeOpenness {c |}{col 25}{res}{space 2}  .031573{col 37}{space 2} .0443959{col 48}{space 1}    0.71{col 57}{space 3}0.479{col 65}{space 4}-.0566012{col 78}{space 3} .1197472
{txt}chinese_ofdi_inflow_gdp {c |}{col 25}{res}{space 2} .4623226{col 37}{space 2} .1737039{col 48}{space 1}    2.66{col 57}{space 3}0.009{col 65}{space 4} .1173318{col 78}{space 3} .8073135
{txt}{space 2}chineseworkers_capita {c |}{col 25}{res}{space 2}-.1016543{col 37}{space 2} .0493218{col 48}{space 1}   -2.06{col 57}{space 3}0.042{col 65}{space 4}-.1996116{col 78}{space 3} -.003697
{txt}{space 23} {c |}
{space 19}year {c |}
{space 18}2004  {c |}{col 25}{res}{space 2} 1.244926{col 37}{space 2} 1.069555{col 48}{space 1}    1.16{col 57}{space 3}0.247{col 65}{space 4}-.8793026{col 78}{space 3} 3.369155
{txt}{space 18}2005  {c |}{col 25}{res}{space 2} .0004117{col 37}{space 2} 1.353197{col 48}{space 1}    0.00{col 57}{space 3}1.000{col 65}{space 4}-2.687154{col 78}{space 3} 2.687977
{txt}{space 18}2006  {c |}{col 25}{res}{space 2} .2141112{col 37}{space 2} 1.244023{col 48}{space 1}    0.17{col 57}{space 3}0.864{col 65}{space 4}-2.256626{col 78}{space 3} 2.684848
{txt}{space 18}2007  {c |}{col 25}{res}{space 2}  -1.1772{col 37}{space 2} 1.168811{col 48}{space 1}   -1.01{col 57}{space 3}0.316{col 65}{space 4}-3.498561{col 78}{space 3}  1.14416
{txt}{space 18}2008  {c |}{col 25}{res}{space 2}-.9835237{col 37}{space 2} 1.345154{col 48}{space 1}   -0.73{col 57}{space 3}0.467{col 65}{space 4}-3.655115{col 78}{space 3} 1.688068
{txt}{space 18}2009  {c |}{col 25}{res}{space 2}-.4657964{col 37}{space 2} 1.362348{col 48}{space 1}   -0.34{col 57}{space 3}0.733{col 65}{space 4}-3.171537{col 78}{space 3} 2.239944
{txt}{space 18}2010  {c |}{col 25}{res}{space 2}-.5968188{col 37}{space 2} 1.526916{col 48}{space 1}   -0.39{col 57}{space 3}0.697{col 65}{space 4}-3.629407{col 78}{space 3} 2.435769
{txt}{space 18}2011  {c |}{col 25}{res}{space 2}-.8920165{col 37}{space 2} 1.741914{col 48}{space 1}   -0.51{col 57}{space 3}0.610{col 65}{space 4}-4.351609{col 78}{space 3} 2.567576
{txt}{space 18}2012  {c |}{col 25}{res}{space 2}-.5317304{col 37}{space 2} 1.816771{col 48}{space 1}   -0.29{col 57}{space 3}0.770{col 65}{space 4}-4.139994{col 78}{space 3} 3.076533
{txt}{space 18}2013  {c |}{col 25}{res}{space 2}-.7766542{col 37}{space 2}  1.89637{col 48}{space 1}   -0.41{col 57}{space 3}0.683{col 65}{space 4}-4.543009{col 78}{space 3} 2.989701
{txt}{space 18}2014  {c |}{col 25}{res}{space 2}-1.282859{col 37}{space 2} 2.001888{col 48}{space 1}   -0.64{col 57}{space 3}0.523{col 65}{space 4}-5.258783{col 78}{space 3} 2.693064
{txt}{space 18}2015  {c |}{col 25}{res}{space 2}-1.159985{col 37}{space 2} 2.038546{col 48}{space 1}   -0.57{col 57}{space 3}0.571{col 65}{space 4}-5.208714{col 78}{space 3} 2.888744
{txt}{space 18}2016  {c |}{col 25}{res}{space 2}-1.154893{col 37}{space 2} 2.102786{col 48}{space 1}   -0.55{col 57}{space 3}0.584{col 65}{space 4}-5.331208{col 78}{space 3} 3.021423
{txt}{space 18}2017  {c |}{col 25}{res}{space 2}-1.065887{col 37}{space 2} 2.224306{col 48}{space 1}   -0.48{col 57}{space 3}0.633{col 65}{space 4} -5.48355{col 78}{space 3} 3.351776
{txt}{space 23} {c |}
{space 18}_cons {c |}{col 25}{res}{space 2} 90.20889{col 37}{space 2} 126.0627{col 48}{space 1}    0.72{col 57}{space 3}0.476{col 65}{space 4}-160.1625{col 78}{space 3} 340.5803
{txt}{hline 24}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
                sigma_u {c |} {res} 10.118141
                {txt}sigma_e {c |} {res} 1.0577035
                    {txt}rho {c |} {res} .98919048{txt}   (fraction of variance due to u_i)
{hline 24}{c BT}{hline 64}
F test that all u_i=0: F({res}17{txt}, {res}92{txt}) = {res}6.36{col 62}{txt}Prob > F = {res}0.0000
{txt}({res}est5{txt} stored)

{com}. eststo: xtreg OFa_oofv_pop_ln L1.OFa_oofv_pop_ln   c.protestL1##c.polity2L1  lngdppc lngdp NaturalResources  urban_pop electricity FDI_inflow tradeopenness chineseworkers_capita  bri_carryover  i.year   , fe
{res}
{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}       153
{txt}Group variable: {res}cowcode{txt}{col 49}Number of groups{col 67}={col 69}{res}        18

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.3873{col 63}{txt}min{col 67}={col 69}{res}         3
{txt}     between = {res}0.0720{col 63}{txt}avg{col 67}={col 69}{res}       8.5
{txt}     overall = {res}0.0148{col 63}{txt}max{col 67}={col 69}{res}        13

{txt}{col 49}F({res}29{txt},{res}106{txt}){col 67}={col 70}{res}     2.31
{txt}corr(u_i, Xb){col 16}= {res}-0.9886{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0010

{txt}{hline 24}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}        OFa_oofv_pop_ln{col 25}{c |}      Coef.{col 37}   Std. Err.{col 49}      t{col 57}   P>|t|{col 65}     [95% Con{col 78}f. Interval]
{hline 24}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 8}OFa_oofv_pop_ln {c |}
{space 20}L1. {c |}{col 25}{res}{space 2}-.0514365{col 37}{space 2} .0973595{col 48}{space 1}   -0.53{col 57}{space 3}0.598{col 65}{space 4}-.2444612{col 78}{space 3} .1415881
{txt}{space 23} {c |}
{space 14}protestL1 {c |}{col 25}{res}{space 2} .0332594{col 37}{space 2} .0140809{col 48}{space 1}    2.36{col 57}{space 3}0.020{col 65}{space 4} .0053426{col 78}{space 3} .0611761
{txt}{space 14}polity2L1 {c |}{col 25}{res}{space 2} .1229351{col 37}{space 2} .0494943{col 48}{space 1}    2.48{col 57}{space 3}0.015{col 65}{space 4} .0248079{col 78}{space 3} .2210623
{txt}{space 23} {c |}
c.protestL1#c.polity2L1 {c |}{col 25}{res}{space 2}-.0047118{col 37}{space 2} .0018522{col 48}{space 1}   -2.54{col 57}{space 3}0.012{col 65}{space 4}-.0083839{col 78}{space 3}-.0010397
{txt}{space 23} {c |}
{space 16}lngdppc {c |}{col 25}{res}{space 2}-1.684532{col 37}{space 2} 6.938386{col 48}{space 1}   -0.24{col 57}{space 3}0.809{col 65}{space 4}-15.44056{col 78}{space 3} 12.07149
{txt}{space 18}lngdp {c |}{col 25}{res}{space 2} 4.788646{col 37}{space 2}  6.83663{col 48}{space 1}    0.70{col 57}{space 3}0.485{col 65}{space 4}-8.765637{col 78}{space 3} 18.34293
{txt}{space 7}NaturalResources {c |}{col 25}{res}{space 2} -.150728{col 37}{space 2} .0456469{col 48}{space 1}   -3.30{col 57}{space 3}0.001{col 65}{space 4}-.2412274{col 78}{space 3}-.0602285
{txt}{space 14}urban_pop {c |}{col 25}{res}{space 2} .3170819{col 37}{space 2} .1181825{col 48}{space 1}    2.68{col 57}{space 3}0.008{col 65}{space 4} .0827736{col 78}{space 3} .5513902
{txt}{space 12}electricity {c |}{col 25}{res}{space 2}-.0465022{col 37}{space 2} .0201492{col 48}{space 1}   -2.31{col 57}{space 3}0.023{col 65}{space 4}-.0864499{col 78}{space 3}-.0065544
{txt}{space 13}FDI_inflow {c |}{col 25}{res}{space 2} .0122282{col 37}{space 2} .0237246{col 48}{space 1}    0.52{col 57}{space 3}0.607{col 65}{space 4}-.0348082{col 78}{space 3} .0592646
{txt}{space 10}tradeopenness {c |}{col 25}{res}{space 2}  .022929{col 37}{space 2} .0135169{col 48}{space 1}    1.70{col 57}{space 3}0.093{col 65}{space 4}-.0038696{col 78}{space 3} .0497275
{txt}{space 2}chineseworkers_capita {c |}{col 25}{res}{space 2} .0700622{col 37}{space 2} .0433803{col 48}{space 1}    1.62{col 57}{space 3}0.109{col 65}{space 4}-.0159436{col 78}{space 3} .1560679
{txt}{space 10}bri_carryover {c |}{col 25}{res}{space 2} .2624547{col 37}{space 2} .4455563{col 48}{space 1}    0.59{col 57}{space 3}0.557{col 65}{space 4} -.620904{col 78}{space 3} 1.145813
{txt}{space 23} {c |}
{space 19}year {c |}
{space 18}2002  {c |}{col 25}{res}{space 2}-1.753035{col 37}{space 2} 1.366845{col 48}{space 1}   -1.28{col 57}{space 3}0.202{col 65}{space 4}-4.462938{col 78}{space 3} .9568678
{txt}{space 18}2003  {c |}{col 25}{res}{space 2} 2.773161{col 37}{space 2} 1.293275{col 48}{space 1}    2.14{col 57}{space 3}0.034{col 65}{space 4} .2091176{col 78}{space 3} 5.337204
{txt}{space 18}2004  {c |}{col 25}{res}{space 2} 1.607153{col 37}{space 2} 1.501134{col 48}{space 1}    1.07{col 57}{space 3}0.287{col 65}{space 4} -1.36899{col 78}{space 3} 4.583296
{txt}{space 18}2005  {c |}{col 25}{res}{space 2} 1.534742{col 37}{space 2}  1.61294{col 48}{space 1}    0.95{col 57}{space 3}0.344{col 65}{space 4}-1.663068{col 78}{space 3} 4.732553
{txt}{space 18}2006  {c |}{col 25}{res}{space 2} 1.996861{col 37}{space 2} 1.374714{col 48}{space 1}    1.45{col 57}{space 3}0.149{col 65}{space 4} -.728644{col 78}{space 3} 4.722366
{txt}{space 18}2007  {c |}{col 25}{res}{space 2}-.7677715{col 37}{space 2}   1.2209{col 48}{space 1}   -0.63{col 57}{space 3}0.531{col 65}{space 4}-3.188324{col 78}{space 3} 1.652781
{txt}{space 18}2008  {c |}{col 25}{res}{space 2}-.7625657{col 37}{space 2} 1.392384{col 48}{space 1}   -0.55{col 57}{space 3}0.585{col 65}{space 4}-3.523103{col 78}{space 3} 1.997972
{txt}{space 18}2009  {c |}{col 25}{res}{space 2} .2968387{col 37}{space 2} 1.409773{col 48}{space 1}    0.21{col 57}{space 3}0.834{col 65}{space 4}-2.498174{col 78}{space 3} 3.091851
{txt}{space 18}2010  {c |}{col 25}{res}{space 2}-.7104012{col 37}{space 2} 1.488067{col 48}{space 1}   -0.48{col 57}{space 3}0.634{col 65}{space 4}-3.660639{col 78}{space 3} 2.239837
{txt}{space 18}2011  {c |}{col 25}{res}{space 2}-1.313873{col 37}{space 2} 1.679509{col 48}{space 1}   -0.78{col 57}{space 3}0.436{col 65}{space 4}-4.643663{col 78}{space 3} 2.015918
{txt}{space 18}2012  {c |}{col 25}{res}{space 2}-1.177424{col 37}{space 2} 1.755917{col 48}{space 1}   -0.67{col 57}{space 3}0.504{col 65}{space 4}-4.658699{col 78}{space 3} 2.303852
{txt}{space 18}2013  {c |}{col 25}{res}{space 2}-1.828922{col 37}{space 2} 1.840757{col 48}{space 1}   -0.99{col 57}{space 3}0.323{col 65}{space 4}-5.478402{col 78}{space 3} 1.820558
{txt}{space 18}2014  {c |}{col 25}{res}{space 2}-2.502877{col 37}{space 2} 1.950957{col 48}{space 1}   -1.28{col 57}{space 3}0.202{col 65}{space 4}-6.370838{col 78}{space 3} 1.365085
{txt}{space 18}2015  {c |}{col 25}{res}{space 2}-2.530623{col 37}{space 2} 2.039309{col 48}{space 1}   -1.24{col 57}{space 3}0.217{col 65}{space 4}-6.573753{col 78}{space 3} 1.512506
{txt}{space 18}2016  {c |}{col 25}{res}{space 2}-2.553964{col 37}{space 2} 2.127585{col 48}{space 1}   -1.20{col 57}{space 3}0.233{col 65}{space 4}-6.772108{col 78}{space 3} 1.664179
{txt}{space 18}2017  {c |}{col 25}{res}{space 2}-2.604335{col 37}{space 2} 2.241041{col 48}{space 1}   -1.16{col 57}{space 3}0.248{col 65}{space 4}-7.047417{col 78}{space 3} 1.838748
{txt}{space 23} {c |}
{space 18}_cons {c |}{col 25}{res}{space 2} -113.251{col 37}{space 2} 119.8071{col 48}{space 1}   -0.95{col 57}{space 3}0.347{col 65}{space 4}-350.7802{col 78}{space 3} 124.2782
{txt}{hline 24}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
                sigma_u {c |} {res} 10.307306
                {txt}sigma_e {c |} {res} 1.1271733
                    {txt}rho {c |} {res} .98818243{txt}   (fraction of variance due to u_i)
{hline 24}{c BT}{hline 64}
F test that all u_i=0: F({res}17{txt}, {res}106{txt}) = {res}5.19{col 62}{txt}Prob > F = {res}0.0000
{txt}({res}est6{txt} stored)

{com}. 
{txt}end of do-file

{com}. do "C:\Users\yujeo\AppData\Local\Temp\STD01000000.tmp"
{txt}
{com}. eststo clear
{txt}
{com}. 
{txt}end of do-file

{com}. log close
      {txt}name:  {res}<unnamed>
       {txt}log:  {res}C:\Users\yujeo\OneDrive - University of Illinois - Urbana\Anti-China Protest Projects\work in progress\kill protests\ISQ Tables_Word\ISQReplication_KillProtests.smcl
  {txt}log type:  {res}smcl
 {txt}closed on:  {res}30 May 2023, 14:26:15
{txt}{.-}
{smcl}
{txt}{sf}{ul off}